From 016944eaaf6486578bc280719dba275191bff3fc Mon Sep 17 00:00:00 2001 From: "J. Bruce Fields" Date: Tue, 15 Jan 2008 16:43:19 -0500 Subject: [PATCH] --- yaml --- r: 79675 b: refs/heads/master c: 3d1c550874bcaf0d9b7fb66f601caed109074f4b h: refs/heads/master i: 79673: 405873634336fa4f6974f5c431b661ea7d8343fd 79671: 2b0812cd5089d4828bbdb5ad747f38dedbb44adf v: v3 --- [refs] | 2 +- trunk/fs/nfs/nfs4proc.c | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/[refs] b/[refs] index e11ac2bb3ae7..ef17d754289b 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: f3c391e89c92651105364c6645244118ec9b3952 +refs/heads/master: 3d1c550874bcaf0d9b7fb66f601caed109074f4b diff --git a/trunk/fs/nfs/nfs4proc.c b/trunk/fs/nfs/nfs4proc.c index b3d4e8e5696a..89efbcd6fd53 100644 --- a/trunk/fs/nfs/nfs4proc.c +++ b/trunk/fs/nfs/nfs4proc.c @@ -3617,10 +3617,6 @@ int nfs4_setxattr(struct dentry *dentry, const char *key, const void *buf, 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); }