]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client: check for bad file handle in low level I/O APIs 55997/head
authorDhairya Parmar <dparmar@redhat.com>
Tue, 20 Feb 2024 12:15:06 +0000 (17:45 +0530)
committerDhairya Parmar <dparmar@redhat.com>
Wed, 6 Mar 2024 13:18:38 +0000 (18:48 +0530)
commit18dfb0ed6a559a8e3d0889be090a8b5b097c4ba5
tree2b5d090617822b9156816dbf51b505c2ac809eb1
parentebdb754d70ba386fd7703413b7d4cacf8d1e1084
client: check for bad file handle in low level I/O APIs

and guard the `if (!mref_reader.is_state_satisfied())` stmt with braces.

Fixes: https://tracker.ceph.com/issues/64313
Signed-off-by: Dhairya Parmar <dparmar@redhat.com>
(cherry picked from commit 6614933808a01322911e1d1c90402f0fd9f099ed)
src/client/Client.cc