linux-stable/fs/orangefs
Al Viro 12c0c3a65a orangefs: saner arguments passing in readdir guts
orangefs_dir_fill() doesn't use oi and dentry arguments at all
do_readdir() gets dentry, uses only dentry->d_inode; it also
gets oi, which is ORANGEFS_I(dentry->d_inode) (i.e. ->d_inode -
constant offset).
orangefs_dir_mode() gets dentry and oi, uses only to pass those
to do_readdir().
orangefs_dir_iterate() uses dentry and oi only to pass those to
orangefs_dir_fill() and orangefs_dir_more().

The only thing it really needs is ->d_inode; moreover, that's
better expressed as file_inode(file) - no need to go through
->f_path.dentry->d_inode.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2023-12-21 12:53:36 -05:00
..
Kconfig
Makefile
acl.c fs: port acl to mnt_idmap 2023-01-19 09:24:28 +01:00
dcache.c fs: orangefs: fix error return code of orangefs_revalidate_lookup() 2021-10-11 14:25:34 -04:00
devorangefs-req.c
dir.c orangefs: saner arguments passing in readdir guts 2023-12-21 12:53:36 -05:00
downcall.h
file.c orangefs: Provide a splice-read wrapper 2023-05-24 08:42:16 -06:00
inode.c fs: drop the timespec64 argument from update_time 2023-08-11 09:04:57 +02:00
namei.c orangefs: convert to ctime accessor functions 2023-07-24 10:30:03 +02:00
orangefs-bufmap.c orangefs: Fix the size of a memory allocation in orangefs_bufmap_alloc() 2021-12-31 14:37:43 -05:00
orangefs-bufmap.h
orangefs-cache.c
orangefs-debug.h
orangefs-debugfs.c orangefs: Fix kmemleak in orangefs_{kernel,client}_debug_init() 2022-12-07 15:18:30 -05:00
orangefs-debugfs.h
orangefs-dev-proto.h
orangefs-kernel.h orangefs: move orangefs_xattr_handlers to .rodata 2023-10-09 16:24:21 +02:00
orangefs-mod.c orangefs: Fix sysfs not cleanup when dev init failed 2022-12-07 15:18:29 -05:00
orangefs-sysfs.c orangefs: Fix kmemleak in orangefs_sysfs_init() 2022-12-07 15:18:30 -05:00
orangefs-sysfs.h
orangefs-utils.c orangefs: convert to new timestamp accessors 2023-10-18 14:08:25 +02:00
protocol.h
super.c fs: allocate inode by using alloc_inode_sb() 2022-03-22 15:57:03 -07:00
symlink.c
upcall.h
waitqueue.c
xattr.c orangefs: move orangefs_xattr_handlers to .rodata 2023-10-09 16:24:21 +02:00