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.
Signed-off-by: Christoph Hellwig <hch@xxxxxx>
Date: Thu May 15 13:58:26 AEST 2008
Workarea: chook.melbourne.sgi.com:/build/tes/2.6.x-xfs-quilt
Inspected by: hch@xxxxxx
The following file(s) were checked into:
longdrop.melbourne.sgi.com:/isms/linux/2.6.x-xfs-melb
Modid: xfs-linux-melb:xfs-kern:31164a
fs/xfs/xfs_attr.c - 1.149 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_attr.c.diff?r1=text&tr1=1.149&r2=text&tr2=1.148&f=h
- Kill attr_capable checks as already done in xattr_permission.
fs/xfs/xfs_attr.h - 1.40 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/xfs_attr.h.diff?r1=text&tr1=1.40&r2=text&tr2=1.39&f=h
- Kill attr_capable checks as already done in xattr_permission.
fs/xfs/linux-2.6/xfs_iops.c - 1.285 - changed
http://oss.sgi.com/cgi-bin/cvsweb.cgi/xfs-linux/linux-2.6/xfs_iops.c.diff?r1=text&tr1=1.285&r2=text&tr2=1.284&f=h
- Kill attr_capable checks as already done in xattr_permission.
|