diff options
author | Christoph Hellwig <hch@infradead.org> | 2014-01-30 02:59:19 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2014-01-31 14:44:39 -0500 |
commit | b168fff72109a3627686578e31e745f778832f98 (patch) | |
tree | c8ab8ef8d5e0e0c47bba1f348713cd6486e63ab5 /fs/hfsplus/dir.c | |
parent | e5fbf67dab3341133d4ee3b1c8ce780e087733ba (diff) |
hfsplus: use xattr handlers for removexattr
hfsplus was already using the handlers for get and set operations,
and with the removal of can_set_xattr we've now allow operations that
wouldn't otherwise be allowed.
With this we can also centralize the special-casing of the osx.
attrs that don't have prefixes on disk in the osx xattr handlers.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/hfsplus/dir.c')
-rw-r--r-- | fs/hfsplus/dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/hfsplus/dir.c b/fs/hfsplus/dir.c index 9ee62985e739..bdec66522de3 100644 --- a/fs/hfsplus/dir.c +++ b/fs/hfsplus/dir.c | |||
@@ -529,7 +529,7 @@ const struct inode_operations hfsplus_dir_inode_operations = { | |||
529 | .setxattr = generic_setxattr, | 529 | .setxattr = generic_setxattr, |
530 | .getxattr = generic_getxattr, | 530 | .getxattr = generic_getxattr, |
531 | .listxattr = hfsplus_listxattr, | 531 | .listxattr = hfsplus_listxattr, |
532 | .removexattr = hfsplus_removexattr, | 532 | .removexattr = generic_removexattr, |
533 | #ifdef CONFIG_HFSPLUS_FS_POSIX_ACL | 533 | #ifdef CONFIG_HFSPLUS_FS_POSIX_ACL |
534 | .get_acl = hfsplus_get_posix_acl, | 534 | .get_acl = hfsplus_get_posix_acl, |
535 | .set_acl = hfsplus_set_posix_acl, | 535 | .set_acl = hfsplus_set_posix_acl, |