Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 222867
b: refs/heads/master
c: 238af87
h: refs/heads/master
i:
  222865: 84a8073
  222863: 68fdc53
v: v3
  • Loading branch information
Frederic Weisbecker authored and Linus Torvalds committed Dec 2, 2010
1 parent f6694d1 commit 52a0a01
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 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: 0bae35e14b68f5e7075bc96e5ea608b42bdf8f59
refs/heads/master: 238af8751f64a75f8b638193353b1c31ea32e738
6 changes: 4 additions & 2 deletions trunk/fs/reiserfs/xattr_acl.c
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,9 @@ int reiserfs_acl_chmod(struct inode *inode)
struct reiserfs_transaction_handle th;
size_t size = reiserfs_xattr_nblocks(inode,
reiserfs_acl_size(clone->a_count));
reiserfs_write_lock(inode->i_sb);
int depth;

depth = reiserfs_write_lock_once(inode->i_sb);
error = journal_begin(&th, inode->i_sb, size * 2);
if (!error) {
int error2;
Expand All @@ -482,7 +484,7 @@ int reiserfs_acl_chmod(struct inode *inode)
if (error2)
error = error2;
}
reiserfs_write_unlock(inode->i_sb);
reiserfs_write_unlock_once(inode->i_sb, depth);
}
posix_acl_release(clone);
return error;
Expand Down

0 comments on commit 52a0a01

Please sign in to comment.