ceph: delete unreachable code in ceph_check_caps()
authorYan, Zheng <zyan@redhat.com>
Mon, 8 Jan 2018 06:36:25 +0000 (14:36 +0800)
committerIlya Dryomov <idryomov@gmail.com>
Mon, 29 Jan 2018 17:36:11 +0000 (18:36 +0100)
commitee612d954fe96612afaa966d8a67b736ba0c571e
tree0fd9eae63c042c0162bde59d21e3405e0b461201
parentd84b37f9fa9b23a46af28d2e9430c87718b6b044
ceph: delete unreachable code in ceph_check_caps()

"revoking & (CEPH_CAP_FILE_CACHE|CEPH_CAP_FILE_LAZYIO)" has already
been tested before calling try_nonblocking_invalidate()

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
fs/ceph/caps.c