file: Rename __close_fd_get_file close_fd_get_file
authorEric W. Biederman <ebiederm@xmission.com>
Fri, 20 Nov 2020 23:14:40 +0000 (17:14 -0600)
committerJens Axboe <axboe@kernel.dk>
Fri, 23 Dec 2022 21:30:33 +0000 (14:30 -0700)
commitba51a050af49c1df47fe79687d5f14256620d508
tree2e423b8f38b1a984302d2ad2319ae42f6fda38e1
parentaa359e48cc999513b0167703009d3db363818540
file: Rename __close_fd_get_file close_fd_get_file

[ Upstream commit 9fe83c43e71cdb8e5b9520bcb98706a2b3c680c8 ]

The function close_fd_get_file is explicitly a variant of
__close_fd[1].  Now that __close_fd has been renamed close_fd, rename
close_fd_get_file to be consistent with close_fd.

When __alloc_fd, __close_fd and __fd_install were introduced the
double underscore indicated that the function took a struct
files_struct parameter.  The function __close_fd_get_file never has so
the naming has always been inconsistent.  This just cleans things up
so there are not any lingering mentions or references __close_fd left
in the code.

[1] 80cd795630d6 ("binder: fix use-after-free due to ksys_close() during fdget()")
Link: https://lkml.kernel.org/r/20201120231441.29911-23-ebiederm@xmission.com
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
drivers/android/binder.c
fs/file.c
fs/io_uring.c
include/linux/fdtable.h