summaryrefslogtreecommitdiff
path: root/include/linux/fileattr.h
diff options
context:
space:
mode:
authorAndrey Albershteyn <aalbersh@kernel.org>2025-06-30 19:20:11 +0300
committerChristian Brauner <brauner@kernel.org>2025-07-01 23:44:22 +0300
commit2f952c9e8fe13c6ee15c05189f1f87c1a70b866c (patch)
treeb56a5390bc53939fa91d4e449f3c19be8f765fbc /include/linux/fileattr.h
parent19272b37aa4f83ca52bdf9c16d5d81bdd1354494 (diff)
downloadlinux-2f952c9e8fe13c6ee15c05189f1f87c1a70b866c.tar.xz
fs: split fileattr related helpers into separate file
This patch moves function related to file extended attributes manipulations to separate file. Refactoring only. Signed-off-by: Andrey Albershteyn <aalbersh@kernel.org> Link: https://lore.kernel.org/20250630-xattrat-syscall-v6-1-c4e3bc35227b@kernel.org Reviewed-by: Amir Goldstein <amir73il@gmail.com> Reviewed-by: Darrick J. Wong <djwong@kernel.org> Reviewed-by: Jan Kara <jack@suse.cz> Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'include/linux/fileattr.h')
-rw-r--r--include/linux/fileattr.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/fileattr.h b/include/linux/fileattr.h
index 47c05a9851d0..6030d0bf7ad3 100644
--- a/include/linux/fileattr.h
+++ b/include/linux/fileattr.h
@@ -55,5 +55,9 @@ static inline bool fileattr_has_fsx(const struct fileattr *fa)
int vfs_fileattr_get(struct dentry *dentry, struct fileattr *fa);
int vfs_fileattr_set(struct mnt_idmap *idmap, struct dentry *dentry,
struct fileattr *fa);
+int ioctl_getflags(struct file *file, unsigned int __user *argp);
+int ioctl_setflags(struct file *file, unsigned int __user *argp);
+int ioctl_fsgetxattr(struct file *file, void __user *argp);
+int ioctl_fssetxattr(struct file *file, void __user *argp);
#endif /* _LINUX_FILEATTR_H */