diff mbox series

cachefiles: remove unneeded include of <linux/fdtable.h>

Message ID 20240603062344.818290-1-hsiangkao@linux.alibaba.com (mailing list archive)
State New
Headers show
Series cachefiles: remove unneeded include of <linux/fdtable.h> | expand

Commit Message

Gao Xiang June 3, 2024, 6:23 a.m. UTC
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>
---
Hi Christian,
If it's possible, please kindly also help pick this
patch along with the original patchset..
https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git/commit/?h=vfs.fixes&id=a82c13d29985a4d99dacd700b497f0c062fe3625

Thanks,
Gao Xiang


 fs/cachefiles/ondemand.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Christian Brauner June 3, 2024, 1:39 p.m. UTC | #1
On Mon, 03 Jun 2024 14:23:44 +0800, Gao Xiang wrote:
> 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
> 
> 

Applied to the vfs.fixes branch of the vfs/vfs.git tree.
Patches in the vfs.fixes branch should appear in linux-next soon.

Please report any outstanding bugs that were missed during review in a
new review to the original patch series allowing us to drop it.

It's encouraged to provide Acked-bys and Reviewed-bys even though the
patch has now been applied. If possible patch trailers will be updated.

Note that commit hashes shown below are subject to change due to rebase,
trailer updates or similar. If in doubt, please check the listed branch.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/vfs/vfs.git
branch: vfs.fixes

[1/1] cachefiles: remove unneeded include of <linux/fdtable.h>
      https://git.kernel.org/vfs/vfs/c/5ea71848f7b2
diff mbox series

Patch

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"