summaryrefslogtreecommitdiff
path: root/fs/ntfs3/namei.c
diff options
context:
space:
mode:
authorKonstantin Komarov <almaz.alexandrovich@paragon-software.com>2024-06-18 17:31:21 +0300
committerKonstantin Komarov <almaz.alexandrovich@paragon-software.com>2024-07-11 12:19:45 +0300
commit5bfb91c71207ef3f0058701eeca86d96c0a39447 (patch)
treeebccd37e3dee72355d261c48c5e31b9f9a882488 /fs/ntfs3/namei.c
parent1ff2e956608c12a069faded7a01799d3206e8b1e (diff)
downloadlwn-5bfb91c71207ef3f0058701eeca86d96c0a39447.tar.gz
lwn-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/namei.c')
-rw-r--r--fs/ntfs3/namei.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ntfs3/namei.c b/fs/ntfs3/namei.c
index 71498421ce60..cc04be9a4394 100644
--- a/fs/ntfs3/namei.c
+++ b/fs/ntfs3/namei.c
@@ -509,6 +509,8 @@ const struct inode_operations ntfs_dir_inode_operations = {
.getattr = ntfs_getattr,
.listxattr = ntfs_listxattr,
.fiemap = ntfs_fiemap,
+ .fileattr_get = ntfs_fileattr_get,
+ .fileattr_set = ntfs_fileattr_set,
};
const struct inode_operations ntfs_special_inode_operations = {