Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 349163
b: refs/heads/master
c: 3268a24
h: refs/heads/master
i:
  349161: fd73d5f
  349159: 5013b3b
v: v3
  • Loading branch information
Liu Bo authored and Josef Bacik committed Jan 14, 2013
1 parent 4c34266 commit e723618
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ac5c93005b7073732e268606688fb6c821d5310e
refs/heads/master: 3268a2468eb6a31af89930cbae58a62fe6ca6d2d
2 changes: 2 additions & 0 deletions trunk/fs/btrfs/extent-tree.c
Original file line number Diff line number Diff line change
Expand Up @@ -6788,11 +6788,13 @@ static noinline int walk_up_proc(struct btrfs_trans_handle *trans,
&wc->flags[level]);
if (ret < 0) {
btrfs_tree_unlock_rw(eb, path->locks[level]);
path->locks[level] = 0;
return ret;
}
BUG_ON(wc->refs[level] == 0);
if (wc->refs[level] == 1) {
btrfs_tree_unlock_rw(eb, path->locks[level]);
path->locks[level] = 0;
return 1;
}
}
Expand Down

0 comments on commit e723618

Please sign in to comment.