Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 280331
b: refs/heads/master
c: 114b80c
h: refs/heads/master
i:
  280329: c9bafaf
  280327: 26de5a9
v: v3
  • Loading branch information
Steven Whitehouse committed Nov 9, 2011
1 parent ba484df commit 32ddcbb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 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: 87654896ca619ff64f94d3881d6bd0ec7b29e25f
refs/heads/master: 114b80ce2c05f91f10fffbf303080357d73c0675
7 changes: 4 additions & 3 deletions trunk/fs/gfs2/xattr.c
Original file line number Diff line number Diff line change
Expand Up @@ -549,9 +549,10 @@ int gfs2_xattr_acl_get(struct gfs2_inode *ip, const char *name, char **ppdata)
goto out;

error = gfs2_ea_get_copy(ip, &el, data, len);
if (error == 0)
error = len;
*ppdata = data;
if (error < 0)
kfree(data);
else
*ppdata = data;
out:
brelse(el.el_bh);
return error;
Expand Down

0 comments on commit 32ddcbb

Please sign in to comment.