Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 231760
b: refs/heads/master
c: 42838bb
h: refs/heads/master
v: v3
  • Loading branch information
Jesper Juhl authored and Chris Mason committed Jan 16, 2011
1 parent b3dcd13 commit e687222
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: 6d07bcec969af335d4e35b3921131b7929bd634e
refs/heads/master: 42838bb265b9cff3de9587fcacc398b5112dc2d9
4 changes: 3 additions & 1 deletion trunk/fs/btrfs/acl.c
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,10 @@ static struct posix_acl *btrfs_get_acl(struct inode *inode, int type)
size = __btrfs_getxattr(inode, name, value, size);
if (size > 0) {
acl = posix_acl_from_xattr(value, size);
if (IS_ERR(acl))
if (IS_ERR(acl)) {
kfree(value);
return acl;
}
set_cached_acl(inode, type, acl);
}
kfree(value);
Expand Down

0 comments on commit e687222

Please sign in to comment.