diff options
author | Yan, Zheng | 2019-05-20 03:50:09 +0200 |
---|---|---|
committer | Ilya Dryomov | 2019-06-05 20:34:39 +0200 |
commit | 7b2f936fc8282ab56d4d21247f2f9c21607c085c (patch) | |
tree | bc9dba2c3671d20c1753ffae4065922cc5f53bda /lib/test_static_key_base.c | |
parent | ceph: avoid iput_final() while holding mutex or in dispatch thread (diff) | |
download | kernel-qcow2-linux-7b2f936fc8282ab56d4d21247f2f9c21607c085c.tar.gz kernel-qcow2-linux-7b2f936fc8282ab56d4d21247f2f9c21607c085c.tar.xz kernel-qcow2-linux-7b2f936fc8282ab56d4d21247f2f9c21607c085c.zip |
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>
Diffstat (limited to 'lib/test_static_key_base.c')
0 files changed, 0 insertions, 0 deletions