diff options
author | Andreas Gruenbacher <agruenba@redhat.com> | 2016-09-29 18:48:32 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2016-10-07 05:17:38 +0300 |
commit | b8020eff7f827018ccd690a13e7da606302715a5 (patch) | |
tree | b4b61c94c67605010a334db11623cf071a3ef8ec /fs/hfs/inode.c | |
parent | 6966f842c044bc602ecc06712ee5891328fde10e (diff) | |
download | linux-b8020eff7f827018ccd690a13e7da606302715a5.tar.xz |
hfs: Switch to generic xattr handlers
Signed-off-by: Andreas Gruenbacher <agruenba@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/hfs/inode.c')
-rw-r--r-- | fs/hfs/inode.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/fs/hfs/inode.c b/fs/hfs/inode.c index c6a32415735b..7f44f1a4e4c0 100644 --- a/fs/hfs/inode.c +++ b/fs/hfs/inode.c @@ -15,6 +15,7 @@ #include <linux/mpage.h> #include <linux/sched.h> #include <linux/uio.h> +#include <linux/xattr.h> #include "hfs_fs.h" #include "btree.h" @@ -687,7 +688,7 @@ static const struct file_operations hfs_file_operations = { static const struct inode_operations hfs_file_inode_operations = { .lookup = hfs_file_lookup, .setattr = hfs_inode_setattr, - .setxattr = hfs_setxattr, - .getxattr = hfs_getxattr, - .listxattr = hfs_listxattr, + .setxattr = generic_setxattr, + .getxattr = generic_getxattr, + .listxattr = generic_listxattr, }; |