commit | 173e70e8ac0f1e7e3eb98f1ffb953e80a5cc8a5f | [log] [tgz] |
---|---|---|
author | Yan, Zheng <ukernel@gmail.com> | Tue Feb 18 08:17:08 2020 -0500 |
committer | Ilya Dryomov <idryomov@gmail.com> | Mon Mar 30 12:42:41 2020 +0200 |
tree | e91e2cd1e6515ab4f1e56e0650930bb0dfe2fc9f | |
parent | a25949b99003b7e6c2604a3fc8b8d62385508477 [diff] |
ceph: don't take refs to want mask unless we have all bits If we don't have all of the cap bits for the want mask in try_get_cap_refs, then just take refs on the need bits. Signed-off-by: "Yan, Zheng" <ukernel@gmail.com> Reviewed-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>