[GFS2] remove unnecessary permission checks
authorRyan O'Hara <rohara@redhat.com>
Wed, 21 Nov 2007 17:54:54 +0000 (11:54 -0600)
committerSteven Whitehouse <swhiteho@redhat.com>
Fri, 25 Jan 2008 08:08:08 +0000 (08:08 +0000)
commit002ef1dc63ded14507c110d3cf83d0c3f51374ab
treec81a66cdd0b8bf49a515141c669a2600e7b01140
parent1a2781cfa5ed8eb82bb311d684f268c1822dae69
[GFS2] remove unnecessary permission checks

Remove read/write permission() checks from xattr operations.
VFS layer is already handling permission for xattrs via the
xattr_permission() call, so there is no need for gfs2 to
check permissions. Futhermore, using permission() for SELinux
xattrs ops is incorrect.

Signed-off-by: Ryan O'Hara <rohara@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/eaops.c