kernel-hacking-2024-linux-s.../fs/ceph
Jeff Layton 1199d7da2d ceph: simplify arguments and return semantics of try_get_cap_refs
The return of this function is rather complex. It can return 0 or 1,
and in the case of a 1 return, the "err" pointer will be filled out.
This necessitates a lot of copying of values.

We can achieve the same effect by just returning 0, 1 or a negative
error code, and drop the "err" argument from this function.

Signed-off-by: Jeff Layton <jlayton@kernel.org>
Reviewed-by: "Yan, Zheng" <zyan@redhat.com>
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2019-05-07 19:22:38 +02:00
..
acl.c
addr.c ceph: use vmf_error() in ceph_filemap_fault() 2019-01-07 22:48:48 +01:00
cache.c
cache.h
caps.c ceph: simplify arguments and return semantics of try_get_cap_refs 2019-05-07 19:22:38 +02:00
ceph_frag.c
debugfs.c ceph: use __getname/__putname in ceph_mdsc_build_path 2019-05-07 19:22:37 +02:00
dir.c ceph: ensure d_name stability in ceph_dentry_hash() 2019-04-23 21:37:54 +02:00
export.c ceph: snapshot nfs re-export 2019-05-07 19:22:36 +02:00
file.c ceph: fix NULL pointer deref when debugging is enabled 2019-05-07 19:22:37 +02:00
inode.c ceph: properly handle granular statx requests 2019-05-07 19:22:37 +02:00
ioctl.c
ioctl.h
Kconfig
locks.c ceph: remove duplicated filelock ref increase 2019-05-07 19:22:36 +02:00
Makefile
mds_client.c ceph: move wait for mds request into helper function 2019-05-07 19:22:38 +02:00
mds_client.h ceph: have ceph_mdsc_do_request call ceph_mdsc_submit_request 2019-05-07 19:22:37 +02:00
mdsmap.c ceph: remove redundant assignment 2018-12-26 15:56:04 +01:00
quota.c ceph: quota: fix quota subdir mounts 2019-05-07 19:22:36 +02:00
snap.c ceph: fix ci->i_head_snapc leak 2019-04-23 21:37:54 +02:00
strings.c
super.c ceph: add mount option to limit caps count 2019-03-05 18:55:17 +01:00
super.h ceph: quota: fix quota subdir mounts 2019-05-07 19:22:36 +02:00
xattr.c ceph: support getting ceph.dir.pin vxattr 2019-03-05 18:55:16 +01:00