Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 79675
b: refs/heads/master
c: 3d1c550
h: refs/heads/master
i:
  79673: 4058736
  79671: 2b0812c
v: v3
  • Loading branch information
J. Bruce Fields authored and Trond Myklebust committed Jan 30, 2008
1 parent 847e155 commit 016944e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f3c391e89c92651105364c6645244118ec9b3952
refs/heads/master: 3d1c550874bcaf0d9b7fb66f601caed109074f4b
4 changes: 0 additions & 4 deletions trunk/fs/nfs/nfs4proc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

Expand Down

0 comments on commit 016944e

Please sign in to comment.