diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2022-06-05 17:14:03 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2022-06-05 17:14:03 -0700 |
commit | 6684cf42906ff5f44580e16a1f898e89c19aabd5 (patch) | |
tree | b0370221df3a99967a42455610365043deb36d0b /fs/file.c | |
parent | 815b196c7057356e7ffa9ce97892cb5fd5de17e0 (diff) | |
parent | 40a1926022d128057376d35167128a7c74e3dca4 (diff) |
Merge tag 'pull-work.fd-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs
Pull file descriptor fix from Al Viro:
"Fix for breakage in #work.fd this window"
* tag 'pull-work.fd-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs:
fix the breakage in close_fd_get_file() calling conventions change
Diffstat (limited to 'fs/file.c')
-rw-r--r-- | fs/file.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/file.c b/fs/file.c index dd6692048f4f..3bcc1ecc314a 100644 --- a/fs/file.c +++ b/fs/file.c @@ -800,8 +800,7 @@ struct file *__close_fd_get_file(unsigned int fd) /* * 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(). + * The caller must ensure that filp_close() called on the file. */ struct file *close_fd_get_file(unsigned int fd) { |