diff options
author | Miklos Szeredi <mszeredi@redhat.com> | 2021-04-07 15:36:43 +0300 |
---|---|---|
committer | Miklos Szeredi <mszeredi@redhat.com> | 2021-04-12 16:04:29 +0300 |
commit | aba405e33e150860dd9e55be582a70e36d457039 (patch) | |
tree | bcd80dd18607a0001dbfad181749e84d8afb39be /fs/ext2/file.c | |
parent | 97fc2977548786b073b17aa18174fcbaae9cb6a8 (diff) | |
download | linux-aba405e33e150860dd9e55be582a70e36d457039.tar.xz |
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, }; |