All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 7/8] remove nfs xattr permission checks
@ 2005-11-01  2:30 Christoph Hellwig
  0 siblings, 0 replies; only message in thread
From: Christoph Hellwig @ 2005-11-01  2:30 UTC (permalink / raw)
  To: akpm, trond.myklebust; +Cc: linux-fsdevel

remove checks now in the VFS

Signed-off-by: Christoph Hellwig <hch@lst.de>

Index: linux-2.6/fs/nfs/nfs4proc.c
===================================================================
--- linux-2.6.orig/fs/nfs/nfs4proc.c	2005-10-28 19:49:55.000000000 +0200
+++ linux-2.6/fs/nfs/nfs4proc.c	2005-10-30 20:05:02.000000000 +0100
@@ -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);
 }
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-11-01  2:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-01  2:30 [PATCH 7/8] remove nfs xattr permission checks Christoph Hellwig

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.