]> 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
authorDhairya Parmar <dparmar@redhat.com>
Tue, 20 Feb 2024 12:15:06 +0000 (17:45 +0530)
committerDhairya Parmar <dparmar@redhat.com>
Tue, 10 Sep 2024 08:29:12 +0000 (13:59 +0530)
commitf162cc9d7b8380df1410e1dad010add0bd4615de
tree3e1b3d78599a65024f9504b8192ad05e9ecbf620
parenta1fbfe13faf5d60b349d052cecaa5152031e2dc2
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