diff options
author | Yan, Zheng <zyan@redhat.com> | 2019-05-20 09:50:09 +0800 |
---|---|---|
committer | Ilya Dryomov <idryomov@gmail.com> | 2019-06-05 20:34:39 +0200 |
commit | 7b2f936fc8282ab56d4d21247f2f9c21607c085c (patch) | |
tree | bc9dba2c3671d20c1753ffae4065922cc5f53bda /fs/xfs/xfs_ioctl.c | |
parent | 3e1d0452edceebb903d23db53201013c940bf000 (diff) | |
download | linux-7b2f936fc8282ab56d4d21247f2f9c21607c085c.tar.gz linux-7b2f936fc8282ab56d4d21247f2f9c21607c085c.tar.bz2 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 'fs/xfs/xfs_ioctl.c')
0 files changed, 0 insertions, 0 deletions