diff options
author | Konstantin Komarov <almaz.alexandrovich@paragon-software.com> | 2024-06-18 16:31:21 +0200 |
---|---|---|
committer | Konstantin Komarov <almaz.alexandrovich@paragon-software.com> | 2024-07-11 11:19:45 +0200 |
commit | 5bfb91c71207ef3f0058701eeca86d96c0a39447 (patch) | |
tree | ebccd37e3dee72355d261c48c5e31b9f9a882488 /fs/ntfs3/ntfs_fs.h | |
parent | fs/ntfs3: Redesign legacy ntfs support (diff) | |
download | linux-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.h | 3 |
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, |