Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 200363
b: refs/heads/master
c: 731e3d1
h: refs/heads/master
i:
  200361: bca41db
  200359: d6960b3
v: v3
  • Loading branch information
Shi Weihua authored and Chris Mason committed Jun 11, 2010
1 parent be2b696 commit 1ecc5fa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2f26afba46f0ebf155cf9be746496a0304a5b7cf
refs/heads/master: 731e3d1b4348a96d53de6c084774424dedc64a3b
3 changes: 3 additions & 0 deletions trunk/fs/btrfs/acl.c
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,9 @@ static int btrfs_xattr_acl_set(struct dentry *dentry, const char *name,
if (!is_owner_or_cap(dentry->d_inode))
return -EPERM;

if (!IS_POSIXACL(dentry->d_inode))
return -EOPNOTSUPP;

if (value) {
acl = posix_acl_from_xattr(value, size);
if (acl == NULL) {
Expand Down

0 comments on commit 1ecc5fa

Please sign in to comment.