diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2015-12-02 08:44:37 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2015-12-06 21:34:14 -0500 |
commit | 9172abbcd371f2f62903087bbd228f11d380b7b4 (patch) | |
tree | c9842dcce82d638b06ccdf7d0bb1e7dda17d54b5 /fs/btrfs/inode.c | |
parent | 98e9cb5711c68223f0e4d5201b9a6add255ec550 (diff) |
btrfs: Use xattr handler infrastructure
Use the VFS xattr handler infrastructure and get rid of similar code in
the filesystem.
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/btrfs/inode.c')
-rw-r--r-- | fs/btrfs/inode.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c index d540fd70f6c6..4fb8d6e28b21 100644 --- a/fs/btrfs/inode.c +++ b/fs/btrfs/inode.c | |||
@@ -9994,7 +9994,7 @@ static const struct inode_operations btrfs_dir_inode_operations = { | |||
9994 | .setattr = btrfs_setattr, | 9994 | .setattr = btrfs_setattr, |
9995 | .mknod = btrfs_mknod, | 9995 | .mknod = btrfs_mknod, |
9996 | .setxattr = btrfs_setxattr, | 9996 | .setxattr = btrfs_setxattr, |
9997 | .getxattr = btrfs_getxattr, | 9997 | .getxattr = generic_getxattr, |
9998 | .listxattr = btrfs_listxattr, | 9998 | .listxattr = btrfs_listxattr, |
9999 | .removexattr = btrfs_removexattr, | 9999 | .removexattr = btrfs_removexattr, |
10000 | .permission = btrfs_permission, | 10000 | .permission = btrfs_permission, |
@@ -10071,7 +10071,7 @@ static const struct inode_operations btrfs_file_inode_operations = { | |||
10071 | .getattr = btrfs_getattr, | 10071 | .getattr = btrfs_getattr, |
10072 | .setattr = btrfs_setattr, | 10072 | .setattr = btrfs_setattr, |
10073 | .setxattr = btrfs_setxattr, | 10073 | .setxattr = btrfs_setxattr, |
10074 | .getxattr = btrfs_getxattr, | 10074 | .getxattr = generic_getxattr, |
10075 | .listxattr = btrfs_listxattr, | 10075 | .listxattr = btrfs_listxattr, |
10076 | .removexattr = btrfs_removexattr, | 10076 | .removexattr = btrfs_removexattr, |
10077 | .permission = btrfs_permission, | 10077 | .permission = btrfs_permission, |
@@ -10085,7 +10085,7 @@ static const struct inode_operations btrfs_special_inode_operations = { | |||
10085 | .setattr = btrfs_setattr, | 10085 | .setattr = btrfs_setattr, |
10086 | .permission = btrfs_permission, | 10086 | .permission = btrfs_permission, |
10087 | .setxattr = btrfs_setxattr, | 10087 | .setxattr = btrfs_setxattr, |
10088 | .getxattr = btrfs_getxattr, | 10088 | .getxattr = generic_getxattr, |
10089 | .listxattr = btrfs_listxattr, | 10089 | .listxattr = btrfs_listxattr, |
10090 | .removexattr = btrfs_removexattr, | 10090 | .removexattr = btrfs_removexattr, |
10091 | .get_acl = btrfs_get_acl, | 10091 | .get_acl = btrfs_get_acl, |
@@ -10100,7 +10100,7 @@ static const struct inode_operations btrfs_symlink_inode_operations = { | |||
10100 | .setattr = btrfs_setattr, | 10100 | .setattr = btrfs_setattr, |
10101 | .permission = btrfs_permission, | 10101 | .permission = btrfs_permission, |
10102 | .setxattr = btrfs_setxattr, | 10102 | .setxattr = btrfs_setxattr, |
10103 | .getxattr = btrfs_getxattr, | 10103 | .getxattr = generic_getxattr, |
10104 | .listxattr = btrfs_listxattr, | 10104 | .listxattr = btrfs_listxattr, |
10105 | .removexattr = btrfs_removexattr, | 10105 | .removexattr = btrfs_removexattr, |
10106 | .update_time = btrfs_update_time, | 10106 | .update_time = btrfs_update_time, |