]> git.baikalelectronics.ru Git - kernel.git/commit
hfsplus: remove can_set_xattr
authorChristoph Hellwig <hch@infradead.org>
Fri, 20 Dec 2013 13:16:56 +0000 (05:16 -0800)
committerAl Viro <viro@zeniv.linux.org.uk>
Sun, 26 Jan 2014 13:26:41 +0000 (08:26 -0500)
commit4ea9bfe5bdf7130cb8e4aee7376f41c118f6eb05
tree6cc2b0054c4f002798afda4bf48a126bf495a68e
parentd4a55e62bdfb6670c41e21f0fe3b60223a509f12
hfsplus: remove can_set_xattr

When using the per-superblock xattr handlers permission checking is
done by the generic code.  hfsplus just needs to check for the magic
osx attribute not to leak into protected namespaces.

Also given that the code was obviously copied from JFS the proper
attribution was missing.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/hfsplus/xattr.c