summaryrefslogtreecommitdiff
path: root/fs/nilfs2/file.c
diff options
context:
space:
mode:
authorMiklos Szeredi <mszeredi@redhat.com>2021-04-07 14:36:44 +0200
committerMiklos Szeredi <mszeredi@redhat.com>2021-04-12 15:04:30 +0200
commit7c7c436e14b863ce56d9983477d35e05e54a220b (patch)
treec74d7b7859df76fbc4fc36fef8d3defa28489091 /fs/nilfs2/file.c
parent2ca58e30b148044adc3b517931036c87ca9f8d76 (diff)
nilfs2: 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: Ryusuke Konishi <konishi.ryusuke@gmail.com>
Diffstat (limited to 'fs/nilfs2/file.c')
-rw-r--r--fs/nilfs2/file.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/nilfs2/file.c b/fs/nilfs2/file.c
index e1bd592ce700..7cf765258fda 100644
--- a/fs/nilfs2/file.c
+++ b/fs/nilfs2/file.c
@@ -148,6 +148,8 @@ const struct inode_operations nilfs_file_inode_operations = {
.setattr = nilfs_setattr,
.permission = nilfs_permission,
.fiemap = nilfs_fiemap,
+ .fileattr_get = nilfs_fileattr_get,
+ .fileattr_set = nilfs_fileattr_set,
};
/* end of file */