diff options
| author | Al Viro <viro@zeniv.linux.org.uk> | 2024-06-03 00:48:36 +0300 |
|---|---|---|
| committer | Al Viro <viro@zeniv.linux.org.uk> | 2024-10-07 20:34:41 +0300 |
| commit | cab0515211f483e392d6862021ed008f49058561 (patch) | |
| tree | a66afb5ecdcb021ac742e62989a264acaaa6562e /include/linux | |
| parent | 1fa4ffd8e6f6d001da27f00382af79bad0336091 (diff) | |
| download | linux-cab0515211f483e392d6862021ed008f49058561.tar.xz | |
move close_range(2) into fs/file.c, fold __close_range() into it
We never had callers for __close_range() except for close_range(2)
itself. Nothing of that sort has appeared in four years and if any users
do show up, we can always separate those suckers again.
Reviewed-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/fdtable.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/fdtable.h b/include/linux/fdtable.h index e25e2cb65d30..c45306a9f007 100644 --- a/include/linux/fdtable.h +++ b/include/linux/fdtable.h @@ -111,7 +111,6 @@ int iterate_fd(struct files_struct *, unsigned, const void *); extern int close_fd(unsigned int fd); -extern int __close_range(unsigned int fd, unsigned int max_fd, unsigned int flags); extern struct file *file_close_fd(unsigned int fd); extern struct kmem_cache *files_cachep; |
