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/file.c | |
parent | aba405e33e150860dd9e55be582a70e36d457039 (diff) | |
download | linux-stable-4db5c2e6236f82cf1aa408a53ae2890248059762.tar.gz linux-stable-4db5c2e6236f82cf1aa408a53ae2890248059762.tar.bz2 linux-stable-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/file.c')
-rw-r--r-- | fs/ext4/file.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ext4/file.c b/fs/ext4/file.c index 194f5d00fa32..5332dd3ea7e2 100644 --- a/fs/ext4/file.c +++ b/fs/ext4/file.c @@ -919,5 +919,7 @@ const struct inode_operations ext4_file_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, }; |