diff options
author | Christian Brauner <[email protected]> | 2024-08-06 18:02:27 +0200 |
---|---|---|
committer | Christian Brauner <[email protected]> | 2024-08-30 08:21:34 +0200 |
commit | b69181b871d9fbf8816f03090ef7076cfe1af2c7 (patch) | |
tree | 71f6c4a18a5eed6dbdb4f686944f4f9ab02a2c02 | |
parent | 8400291e289ee6b2bf9779ff1c83a291501f017b (diff) |
proc: proc_readfd() -> proc_fd_iterate()
Give the method to iterate through the fd directory a better name.
Link: https://lore.kernel.org/r/[email protected]
Reviewed-by: Josef Bacik <[email protected]>
Signed-off-by: Christian Brauner <[email protected]>
-rw-r--r-- | fs/proc/fd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/proc/fd.c b/fs/proc/fd.c index 586bbc84ca04..7868333a46e7 100644 --- a/fs/proc/fd.c +++ b/fs/proc/fd.c @@ -312,14 +312,14 @@ static int proc_readfd_count(struct inode *inode, loff_t *count) return 0; } -static int proc_readfd(struct file *file, struct dir_context *ctx) +static int proc_fd_iterate(struct file *file, struct dir_context *ctx) { return proc_readfd_common(file, ctx, proc_fd_instantiate); } const struct file_operations proc_fd_operations = { .read = generic_read_dir, - .iterate_shared = proc_readfd, + .iterate_shared = proc_fd_iterate, .llseek = generic_file_llseek, }; |