Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 125815
b: refs/heads/master
c: 97aff52
h: refs/heads/master
i:
  125813: 70b8b62
  125811: ad7c666
  125807: a41bf68
v: v3
  • Loading branch information
Tao Ma authored and Mark Fasheh committed Jan 5, 2009
1 parent 652ebe8 commit 98ac324
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: 53ef99cad9878f02f27bb30bc304fc42af8bdd6e
refs/heads/master: 97aff52ae13d3c11a074bbbfc80ad0b59cb8cdeb
4 changes: 3 additions & 1 deletion trunk/fs/ocfs2/xattr.c
Original file line number Diff line number Diff line change
Expand Up @@ -2270,6 +2270,7 @@ static int ocfs2_calc_xattr_set_need(struct inode *inode,
value_size);
xv = (struct ocfs2_xattr_value_root *)
(base + name_offset + name_len);
value_size = OCFS2_XATTR_ROOT_SIZE;
} else
xv = &def_xv.xv;

Expand All @@ -2283,7 +2284,8 @@ static int ocfs2_calc_xattr_set_need(struct inode *inode,
&xv->xr_list,
new_clusters -
old_clusters);
goto out;
if (value_size >= OCFS2_XATTR_ROOT_SIZE)
goto out;
}
} else {
/*
Expand Down

0 comments on commit 98ac324

Please sign in to comment.