file: s/close_fd_get_file()/file_close_fd()/g
authorChristian Brauner <brauner@kernel.org>
Thu, 30 Nov 2023 12:49:07 +0000 (13:49 +0100)
committerChristian Brauner <brauner@kernel.org>
Tue, 12 Dec 2023 13:24:13 +0000 (14:24 +0100)
commita88c955fcfb49727d0ed86b47410f6555a8e69e4
treeb04466bef8909dde0b11b95ffcfb9975c9f8e55e
parent253ca8678d30bcf94410b54476fc1e0f1627a137
file: s/close_fd_get_file()/file_close_fd()/g

That really shouldn't have "get" in there as that implies we're bumping
the reference count which we don't do at all. We used to but not anmore.
Now we're just closing the fd and pick that file from the fdtable
without bumping the reference count. Update the wrong documentation
while at it.

Link: https://lore.kernel.org/r/20231130-vfs-files-fixes-v1-1-e73ca6f4ea83@kernel.org
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Christian Brauner <brauner@kernel.org>
drivers/android/binder.c
fs/file.c
fs/open.c
include/linux/fdtable.h