]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client: clean up the queue_cap_snap() code to remove unnecessary check 52498/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:21:22 +0000 (10:21 +0800)
commitf74458e493888bee7b53f9e2b7a7513be38c2b44
treeb85940a951ecceab9b6b3868a6a9afe2a3cacdf3
parent21b4c3f498e39fa8203e3187435c23b285a3258f
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