diff options
author | Miklos Szeredi <mszeredi@redhat.com> | 2021-04-07 14:36:43 +0200 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2021-04-12 15:04:29 +0200 |
commit | 4db5c2e6236f82cf1aa408a53ae2890248059762 (patch) | |
tree | 6361618b349280a32ac57cee4cafc8f8d1bc56a4 /fs/ext4/namei.c | |
parent | ext2: convert to fileattr (diff) | |
download | linux-4db5c2e6236f82cf1aa408a53ae2890248059762.tar.xz linux-4db5c2e6236f82cf1aa408a53ae2890248059762.zip |
ext4: convert to fileattr
Use the fileattr API to let the VFS handle locking, permission checking and
conversion.
Signed-off-by: Miklos Szeredi <mszeredi@redhat.com>
Cc: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/namei.c')
-rw-r--r-- | fs/ext4/namei.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ext4/namei.c b/fs/ext4/namei.c index 883e2a7cd4ab..a37a19fabee4 100644 --- a/fs/ext4/namei.c +++ b/fs/ext4/namei.c @@ -4172,6 +4172,8 @@ const struct inode_operations ext4_dir_inode_operations = { .get_acl = ext4_get_acl, .set_acl = ext4_set_acl, .fiemap = ext4_fiemap, + .fileattr_get = ext4_fileattr_get, + .fileattr_set = ext4_fileattr_set, }; const struct inode_operations ext4_special_inode_operations = { |