* [PATCH] fs: remove spurious exports in fs/file_attr.c
@ 2025-11-19 10:14 Christoph Hellwig
2025-11-19 11:17 ` Christian Brauner
0 siblings, 1 reply; 2+ messages in thread
From: Christoph Hellwig @ 2025-11-19 10:14 UTC (permalink / raw)
To: viro, brauner; +Cc: aalbersh, jack, linux-fsdevel
Commit 2f952c9e8fe1 ("fs: split fileattr related helpers into separate
file") added various exports without users despite claiming to be a
simple refactor. Drop them again.
Signed-off-by: Christoph Hellwig <hch@lst.de>
---
fs/file_attr.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/fs/file_attr.c b/fs/file_attr.c
index 1dcec88c0680..4c4916632f11 100644
--- a/fs/file_attr.c
+++ b/fs/file_attr.c
@@ -316,7 +316,6 @@ int ioctl_getflags(struct file *file, unsigned int __user *argp)
err = put_user(fa.flags, argp);
return err;
}
-EXPORT_SYMBOL(ioctl_getflags);
int ioctl_setflags(struct file *file, unsigned int __user *argp)
{
@@ -337,7 +336,6 @@ int ioctl_setflags(struct file *file, unsigned int __user *argp)
}
return err;
}
-EXPORT_SYMBOL(ioctl_setflags);
int ioctl_fsgetxattr(struct file *file, void __user *argp)
{
@@ -350,7 +348,6 @@ int ioctl_fsgetxattr(struct file *file, void __user *argp)
return err;
}
-EXPORT_SYMBOL(ioctl_fsgetxattr);
int ioctl_fssetxattr(struct file *file, void __user *argp)
{
@@ -369,7 +366,6 @@ int ioctl_fssetxattr(struct file *file, void __user *argp)
}
return err;
}
-EXPORT_SYMBOL(ioctl_fssetxattr);
SYSCALL_DEFINE5(file_getattr, int, dfd, const char __user *, filename,
struct file_attr __user *, ufattr, size_t, usize,
--
2.47.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] fs: remove spurious exports in fs/file_attr.c
2025-11-19 10:14 [PATCH] fs: remove spurious exports in fs/file_attr.c Christoph Hellwig
@ 2025-11-19 11:17 ` Christian Brauner
0 siblings, 0 replies; 2+ messages in thread
From: Christian Brauner @ 2025-11-19 11:17 UTC (permalink / raw)
To: Christoph Hellwig; +Cc: Christian Brauner, aalbersh, jack, linux-fsdevel, viro
On Wed, 19 Nov 2025 11:14:15 +0100, Christoph Hellwig wrote:
> Commit 2f952c9e8fe1 ("fs: split fileattr related helpers into separate
> file") added various exports without users despite claiming to be a
> simple refactor. Drop them again.
>
>
Applied to the vfs-6.19.misc branch of the vfs/vfs.git tree.
Patches in the vfs-6.19.misc 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-6.19.misc
[1/1] fs: remove spurious exports in fs/file_attr.c
https://git.kernel.org/vfs/vfs/c/6d228c181ed2
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2025-11-19 11:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-19 10:14 [PATCH] fs: remove spurious exports in fs/file_attr.c Christoph Hellwig
2025-11-19 11:17 ` Christian Brauner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox