diff options
| author | Al Viro <viro@zeniv.linux.org.uk> | 2024-01-04 21:45:47 -0500 |
|---|---|---|
| committer | Al Viro <viro@zeniv.linux.org.uk> | 2024-04-15 16:03:24 -0400 |
| commit | c4aab26253cd1f302279b8d6b5b66ccf1b120520 (patch) | |
| tree | c7773fd719105433627faab93e2503f3c2247e13 /include/linux/fdtable.h | |
| parent | f60d374d2cc88034385265d193a38e3f4a4b430c (diff) | |
fd_is_open(): move to fs/file.c
no users outside that...
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.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/fdtable.h b/include/linux/fdtable.h index cc060b20502b..2944d4aa413b 100644 --- a/include/linux/fdtable.h +++ b/include/linux/fdtable.h @@ -33,11 +33,6 @@ struct fdtable { struct rcu_head rcu; }; -static inline bool fd_is_open(unsigned int fd, const struct fdtable *fdt) -{ - return test_bit(fd, fdt->open_fds); -} - /* * Open file table structure */ |
