Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 118738
b: refs/heads/master
c: eb6ff23
h: refs/heads/master
v: v3
  • Loading branch information
Joel Becker authored and Mark Fasheh committed Nov 10, 2008
1 parent c6e8dc7 commit 1c37c56
Show file tree
Hide file tree
Showing 2 changed files with 6 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: bd60bd37ade4321ecce4ed4442f68c88febd76d5
refs/heads/master: eb6ff2397d1fdfc6a7629c99896338e5b5c508e5
6 changes: 5 additions & 1 deletion trunk/fs/ocfs2/xattr.c
Original file line number Diff line number Diff line change
Expand Up @@ -3231,7 +3231,9 @@ static int ocfs2_half_xattr_bucket(struct inode *inode,

for (i = 0; i < blk_per_bucket; i++) {
ret = ocfs2_journal_access(handle, inode, t_bhs[i],
OCFS2_JOURNAL_ACCESS_CREATE);
new_bucket_head ?
OCFS2_JOURNAL_ACCESS_CREATE :
OCFS2_JOURNAL_ACCESS_WRITE);
if (ret) {
mlog_errno(ret);
goto out;
Expand Down Expand Up @@ -3393,6 +3395,8 @@ static int ocfs2_cp_xattr_bucket(struct inode *inode,

for (i = 0; i < blk_per_bucket; i++) {
ret = ocfs2_journal_access(handle, inode, t_bhs[i],
t_is_new ?
OCFS2_JOURNAL_ACCESS_CREATE :
OCFS2_JOURNAL_ACCESS_WRITE);
if (ret)
goto out;
Expand Down

0 comments on commit 1c37c56

Please sign in to comment.