commit | 7b2f936fc8282ab56d4d21247f2f9c21607c085c | [log] [tgz] |
---|---|---|
author | Yan, Zheng <zyan@redhat.com> | Mon May 20 09:50:09 2019 +0800 |
committer | Ilya Dryomov <idryomov@gmail.com> | Wed Jun 05 20:34:39 2019 +0200 |
tree | bc9dba2c3671d20c1753ffae4065922cc5f53bda | |
parent | 3e1d0452edceebb903d23db53201013c940bf000 [diff] |
ceph: fix error handling in ceph_get_caps() The function return 0 even when interrupted or try_get_cap_refs() return error. Fixes: 1199d7da2d ("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>