]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
client: clean up the queue_cap_snap() code to remove unnecessary check
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:17:25 +0000 (10:17 +0800)
commit93a4c3bfdc1e55c0e53f8d103e0160a5a5e1bd91
treee03cbb79662d376c6cbd7e5e55039e66e1e3eaeb
parentaad032593145cd010446a1c17b5609d26be34f74
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