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)
committerEric W. Biederman <ebiederm@xmission.com>
Thu, 10 Dec 2020 18:42:59 +0000 (12:42 -0600)
commit9fe83c43e71cdb8e5b9520bcb98706a2b3c680c8
tree5037480cc99b0eb864fc0d76da4adbaeb5a061ea
parent1572bfdf21d4d50e51941498ffe0b56c2289f783
file: Rename __close_fd_get_file close_fd_get_file

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