From: Christian Brauner <[email protected]> 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]> (cherry picked from commit 4f259bd4c26119eee68657e9dd69da3a29393c28) https://virtuozzo.atlassian.net/browse/VSTOR-121919 Signed-off-by: Vasileios Almpanis <[email protected]> --- fs/proc/fd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/proc/fd.c b/fs/proc/fd.c index 172c86270b31..bb9ca750df86 100644 --- a/fs/proc/fd.c +++ b/fs/proc/fd.c @@ -269,14 +269,14 @@ static int proc_readfd_common(struct file *file, struct dir_context *ctx, 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, }; -- 2.43.0 _______________________________________________ Devel mailing list [email protected] https://lists.openvz.org/mailman/listinfo/devel
