[XFS] Kill attr_capable checks as already done in xattr_permission.
authorChristoph Hellwig <hch@infradead.org>
Mon, 19 May 2008 06:34:34 +0000 (16:34 +1000)
committerNiv Sardi <xaiki@debian.org>
Mon, 28 Jul 2008 06:58:13 +0000 (16:58 +1000)
commit911ee3de3d1cb6620e2ac4e0678ff434867e2644
tree3ecde1181f6e312073893feee10893fd5be7d9ce
parentd748c62367eb630cc30b91d561a5362f597a0892
[XFS] Kill attr_capable checks as already done in xattr_permission.

No need for addition permission checks in the xattr handler,
fs/xattr.c:xattr_permission() already does them, and in fact slightly more
strict then what was in the attr_capable handlers.

SGI-PV: 981809
SGI-Modid: xfs-linux-melb:xfs-kern:31164a

Signed-off-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Tim Shimmin <tes@sgi.com>
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
fs/xfs/linux-2.6/xfs_iops.c
fs/xfs/xfs_attr.c
fs/xfs/xfs_attr.h