summaryrefslogtreecommitdiffstats
path: root/fs/ntfs3/ntfs_fs.h
diff options
context:
space:
mode:
authorKonstantin Komarov <almaz.alexandrovich@paragon-software.com>2024-06-18 16:31:21 +0200
committerKonstantin Komarov <almaz.alexandrovich@paragon-software.com>2024-07-11 11:19:45 +0200
commit5bfb91c71207ef3f0058701eeca86d96c0a39447 (patch)
treeebccd37e3dee72355d261c48c5e31b9f9a882488 /fs/ntfs3/ntfs_fs.h
parentfs/ntfs3: Redesign legacy ntfs support (diff)
downloadlinux-5bfb91c71207ef3f0058701eeca86d96c0a39447.tar.xz
linux-5bfb91c71207ef3f0058701eeca86d96c0a39447.zip
fs/ntfs3: Implement simple fileattr
fileattr added to support chattr. Supported attributes: compressed and immutable. Signed-off-by: Konstantin Komarov <almaz.alexandrovich@paragon-software.com>
Diffstat (limited to 'fs/ntfs3/ntfs_fs.h')
-rw-r--r--fs/ntfs3/ntfs_fs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/ntfs3/ntfs_fs.h b/fs/ntfs3/ntfs_fs.h
index 6240ed742e7b..e5255a251929 100644
--- a/fs/ntfs3/ntfs_fs.h
+++ b/fs/ntfs3/ntfs_fs.h
@@ -497,6 +497,9 @@ extern const struct file_operations ntfs_dir_operations;
extern const struct file_operations ntfs_legacy_dir_operations;
/* Globals from file.c */
+int ntfs_fileattr_get(struct dentry *dentry, struct fileattr *fa);
+int ntfs_fileattr_set(struct mnt_idmap *idmap, struct dentry *dentry,
+ struct fileattr *fa);
int ntfs_getattr(struct mnt_idmap *idmap, const struct path *path,
struct kstat *stat, u32 request_mask, u32 flags);
int ntfs3_setattr(struct mnt_idmap *idmap, struct dentry *dentry,