summaryrefslogtreecommitdiffstats
path: root/include/linux/fdtable.h
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2024-06-02 17:48:36 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2024-10-07 13:34:41 -0400
commitcab0515211f483e392d6862021ed008f49058561 (patch)
treea66afb5ecdcb021ac742e62989a264acaaa6562e /include/linux/fdtable.h
parent1fa4ffd8e6f6d001da27f00382af79bad0336091 (diff)
downloadlinux-stable-cab0515211f483e392d6862021ed008f49058561.tar.gz
linux-stable-cab0515211f483e392d6862021ed008f49058561.tar.bz2
linux-stable-cab0515211f483e392d6862021ed008f49058561.zip
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/fdtable.h')
-rw-r--r--include/linux/fdtable.h1
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;