author: Eric W. Biederman <ebiederm@xmission.com> 2020-11-20 17:14:40 -0600
committer: Eric W. Biederman <ebiederm@xmission.com> 2020-12-10 12:42:59 -0600
commit: 9fe83c43e71cdb8e5b9520bcb98706a2b3c680c8
parent: 1572bfdf21d4d50e51941498ffe0b56c2289f783
Commit Summary:
Diffstat:
1 file changed, 2 insertions, 2 deletions
diff --git a/fs/file.c b/fs/file.c
index 987ea51630b4..947ac6d5602f 100644
--- a/fs/file.c
+++ b/fs/file.c
@@ -721,11 +721,11 @@ int __close_range(unsigned fd, unsigned max_fd, unsigned int flags)
}
/*
- * variant of __close_fd that gets a ref on the file for later fput.
+ * variant of close_fd that gets a ref on the file for later fput.
* The caller must ensure that filp_close() called on the file, and then
* an fput().
*/
-int __close_fd_get_file(unsigned int fd, struct file **res)
+int close_fd_get_file(unsigned int fd, struct file **res)
{
struct files_struct *files = current->files;
struct file *file;