diff options
author | Gao Xiang <hsiangkao@linux.alibaba.com> | 2024-06-03 08:23:44 +0200 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2024-06-03 15:39:17 +0200 |
commit | 3d117494e2a88b9c1e8ad41bbbf2cf453a73620e (patch) | |
tree | aa8d646bb0eff61316cab713d6abb8da22a3b42b /fs/cachefiles | |
parent | fs/file: fix the check in find_next_fd() (diff) | |
download | linux-3d117494e2a88b9c1e8ad41bbbf2cf453a73620e.tar.xz linux-3d117494e2a88b9c1e8ad41bbbf2cf453a73620e.zip |
cachefiles: remove unneeded include of <linux/fdtable.h>
close_fd() has been killed, let's get rid of unneeded
<linux/fdtable.h> as Al Viro pointed out [1].
[1] https://lore.kernel.org/r/20240603034055.GI1629371@ZenIV
Suggested-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Link: https://lore.kernel.org/r/20240603062344.818290-1-hsiangkao@linux.alibaba.com
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'fs/cachefiles')
-rw-r--r-- | fs/cachefiles/ondemand.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/cachefiles/ondemand.c b/fs/cachefiles/ondemand.c index 58bd80956c5a..bce005f2b456 100644 --- a/fs/cachefiles/ondemand.c +++ b/fs/cachefiles/ondemand.c @@ -1,5 +1,4 @@ // SPDX-License-Identifier: GPL-2.0-or-later -#include <linux/fdtable.h> #include <linux/anon_inodes.h> #include <linux/uio.h> #include "internal.h" |