]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
client: clean up the queue_cap_snap() code to remove unnecessary check 52499/head
authorXiubo Li <xiubli@redhat.com>
Mon, 8 May 2023 11:34:19 +0000 (19:34 +0800)
committerXiubo Li <xiubli@redhat.com>
Tue, 18 Jul 2023 02:28:13 +0000 (10:28 +0800)
commit1d671986bcf2f50d23964c3dca7f51c62eb34914
tree816bda69b5b35d7db504c663a1adb5b24dd0c3f6
parent0e9f14526e56d71e0b633250066866d3419bf087
client: clean up the queue_cap_snap() code to remove unnecessary check

If the 'dirty' is true then 'dirty & CEPH_CAP_ANY_WR' will always be
true.

Fixes: https://tracker.ceph.com/issues/59343
Signed-off-by: Xiubo Li <xiubli@redhat.com>
(cherry picked from commit cebb5a61c507e05fdd391ee1c569e5a3a0860c2a)
src/client/Client.cc