Skip to contentSkip to conversation

remove nfs xattr permission checks

PATCH In review Christoph Hellwig 1 participant 1 message Nov 1, 2005

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 7/8 remove nfs xattr permission checks

remove checks now in the VFS

fs/nfs/nfs4proc.c +0 -4
Index: linux-2.6/fs/nfs/nfs4proc.c
===================================================================
@@ -3141,10 +3141,6 @@
 	if (strcmp(key, XATTR_NAME_NFSV4_ACL) != 0)
 		return -EOPNOTSUPP;
 
-	if (!S_ISREG(inode->i_mode) &&
-	    (!S_ISDIR(inode->i_mode) || inode->i_mode & S_ISVTX))
-		return -EPERM;
-
 	return nfs4_proc_set_acl(inode, buf, buflen);
 }