From: Gao Xiang <hsiangkao@linux.alibaba.com>
To: Christian Brauner <brauner@kernel.org>,
linux-fsdevel@vger.kernel.org, Al Viro <viro@zeniv.linux.org.uk>
Cc: David Howells <dhowells@redhat.com>,
netfs@lists.linux.dev, Jeffle Xu <jefflexu@linux.alibaba.com>,
Baokun Li <libaokun1@huawei.com>,
Gao Xiang <hsiangkao@linux.alibaba.com>
Subject: [PATCH] cachefiles: remove unneeded include of <linux/fdtable.h>
Date: Mon, 3 Jun 2024 14:23:44 +0800 [thread overview]
Message-ID: <20240603062344.818290-1-hsiangkao@linux.alibaba.com> (raw)
In-Reply-To: <20240603034055.GI1629371@ZenIV>
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(-)
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"
--
2.39.3
next prev parent reply other threads:[~2024-06-03 6:23 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-06-03 0:11 [PATCH] get rid of close_fd() misuse in cachefiles Al Viro
2024-06-03 1:53 ` Gao Xiang
2024-06-03 2:21 ` Al Viro
2024-06-03 2:33 ` Gao Xiang
2024-06-03 3:40 ` Al Viro
2024-06-03 6:23 ` Gao Xiang [this message]
2024-06-03 13:39 ` (subset) [PATCH] cachefiles: remove unneeded include of <linux/fdtable.h> Christian Brauner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240603062344.818290-1-hsiangkao@linux.alibaba.com \
--to=hsiangkao@linux.alibaba.com \
--cc=brauner@kernel.org \
--cc=dhowells@redhat.com \
--cc=jefflexu@linux.alibaba.com \
--cc=libaokun1@huawei.com \
--cc=linux-fsdevel@vger.kernel.org \
--cc=netfs@lists.linux.dev \
--cc=viro@zeniv.linux.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox