Skip to content

Commit 6d228c1

Browse files
Christoph Hellwigbrauner
authored andcommitted
fs: remove spurious exports in fs/file_attr.c
Commit 2f952c9 ("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> Link: https://patch.msgid.link/20251119101415.2732320-1-hch@lst.de Signed-off-by: Christian Brauner <brauner@kernel.org>
1 parent c29383a commit 6d228c1

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

fs/file_attr.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,6 @@ int ioctl_getflags(struct file *file, unsigned int __user *argp)
316316
err = put_user(fa.flags, argp);
317317
return err;
318318
}
319-
EXPORT_SYMBOL(ioctl_getflags);
320319

321320
int ioctl_setflags(struct file *file, unsigned int __user *argp)
322321
{
@@ -337,7 +336,6 @@ int ioctl_setflags(struct file *file, unsigned int __user *argp)
337336
}
338337
return err;
339338
}
340-
EXPORT_SYMBOL(ioctl_setflags);
341339

342340
int ioctl_fsgetxattr(struct file *file, void __user *argp)
343341
{
@@ -350,7 +348,6 @@ int ioctl_fsgetxattr(struct file *file, void __user *argp)
350348

351349
return err;
352350
}
353-
EXPORT_SYMBOL(ioctl_fsgetxattr);
354351

355352
int ioctl_fssetxattr(struct file *file, void __user *argp)
356353
{
@@ -369,7 +366,6 @@ int ioctl_fssetxattr(struct file *file, void __user *argp)
369366
}
370367
return err;
371368
}
372-
EXPORT_SYMBOL(ioctl_fssetxattr);
373369

374370
SYSCALL_DEFINE5(file_getattr, int, dfd, const char __user *, filename,
375371
struct file_attr __user *, ufattr, size_t, usize,

0 commit comments

Comments
 (0)