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 | aba405e33e150860dd9e55be582a70e36d457039 (patch) | |
tree | bcd80dd18607a0001dbfad181749e84d8afb39be /fs/ext2/file.c | |
parent | btrfs: convert to fileattr (diff) | |
download | linux-aba405e33e150860dd9e55be582a70e36d457039.tar.xz linux-aba405e33e150860dd9e55be582a70e36d457039.zip |
ext2: 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: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/ext2/file.c')
-rw-r--r-- | fs/ext2/file.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ext2/file.c b/fs/ext2/file.c index 96044f5dbc0e..f98466acc672 100644 --- a/fs/ext2/file.c +++ b/fs/ext2/file.c @@ -204,4 +204,6 @@ const struct inode_operations ext2_file_inode_operations = { .get_acl = ext2_get_acl, .set_acl = ext2_set_acl, .fiemap = ext2_fiemap, + .fileattr_get = ext2_fileattr_get, + .fileattr_set = ext2_fileattr_set, }; |