Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ceph: fix error handling in ceph_get_caps()
The function return 0 even when interrupted or try_get_cap_refs() return error. Fixes: 1199d7d ("ceph: simplify arguments and return semantics of try_get_cap_refs") Signed-off-by: "Yan, Zheng" <zyan@redhat.com> Reviewed-by: Jeff Layton <jlayton@redhat.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
- Loading branch information