Commit 215ab0d8 authored by Joel Savitz's avatar Joel Savitz Committed by Christian Brauner

file: remove outdated comment after close_fd()

Cc: Alexander Viro <viro@zeniv.linux.org.uk>
Cc: Christian Brauner <brauner@kernel.org>
Cc: Jan Kara <jack@suse.cz>
Cc: linux-fsdevel@vger.kernel.org

The comment on EXPORT_SYMBOL(close_fd) was added in commit 2ca2a09d
("fs: add ksys_close() wrapper; remove in-kernel calls to sys_close()"),
before commit 8760c909 ("file: Rename __close_fd to close_fd and remove
the files parameter") gave the function its current name, however commit
1572bfdf ("file: Replace ksys_close with close_fd") removes the
referenced caller entirely, obsoleting this comment.
Signed-off-by: default avatarJoel Savitz <jsavitz@redhat.com>
Link: https://lore.kernel.org/r/20240803025455.239276-1-jsavitz@redhat.comReviewed-by: default avatarJan Kara <jack@suse.cz>
Signed-off-by: default avatarChristian Brauner <brauner@kernel.org>
parent c5ae8e5e
...@@ -672,7 +672,7 @@ int close_fd(unsigned fd) ...@@ -672,7 +672,7 @@ int close_fd(unsigned fd)
return filp_close(file, files); return filp_close(file, files);
} }
EXPORT_SYMBOL(close_fd); /* for ksys_close() */ EXPORT_SYMBOL(close_fd);
/** /**
* last_fd - return last valid index into fd table * last_fd - return last valid index into fd table
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment