kernel-hacking-2024-linux-s.../fs/ceph
Jeff Layton c1dfc27723 ceph: use pathlen values returned by set_request_path_attr
We make copies of the dentry name in set_request_path_attr, but then
create_request_message re-fetches the lengths out of the dentry. While
we don't currently set the *_drop fields unless the parents are locked,
it's still better not to rely on that sort of implicit assumption.

Use the pathlen values that set_request_path_attr returned instead, as
they will always be correct for the returned paths themselves.

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:37 +02:00
..
acl.c libceph: introduce ceph_pagelist_alloc() 2018-10-22 10:28:21 +02:00
addr.c ceph: use vmf_error() in ceph_filemap_fault() 2019-01-07 22:48:48 +01:00
cache.c ceph: use timespec64 for inode timestamp 2018-08-02 21:26:12 +02:00
cache.h
caps.c ceph: remove superfluous inode_lock in ceph_fsync 2019-05-07 19:22:37 +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: use pathlen values returned by set_request_path_attr 2019-05-07 19:22:37 +02:00
mds_client.h ceph: use __getname/__putname in ceph_mdsc_build_path 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