diff options
author | Al Viro | 2018-07-09 11:14:39 -0400 |
---|---|---|
committer | Al Viro | 2018-07-12 10:04:16 -0400 |
commit | 4d27f3266f14e4d1d13125ce32cb49a40f3122c3 (patch) | |
tree | f8563984e4278fc0ddd68c4bdd277f8179014ef5 /include | |
parent | f5d11409e61dadf1f9af91b22bbedc28a60a2e2c (diff) |
fold put_filp() into fput()
Just check FMODE_OPENED in __fput() and be done with that...
Acked-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/file.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/file.h b/include/linux/file.h index 6d34a1262b31..aed45d69811e 100644 --- a/include/linux/file.h +++ b/include/linux/file.h @@ -78,7 +78,6 @@ extern int f_dupfd(unsigned int from, struct file *file, unsigned flags); extern int replace_fd(unsigned fd, struct file *file, unsigned flags); extern void set_close_on_exec(unsigned int fd, int flag); extern bool get_close_on_exec(unsigned int fd); -extern void put_filp(struct file *); extern int get_unused_fd_flags(unsigned flags); extern void put_unused_fd(unsigned int fd); |