Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 189461
b: refs/heads/master
c: 90d2c51
h: refs/heads/master
i:
  189459: 27e2519
v: v3
  • Loading branch information
Miao Xie authored and Chris Mason committed Mar 31, 2010
1 parent 79cda2e commit ea942b7
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 2f3014fc2ab1e25c36531e19164c48182c168995
refs/heads/master: 90d2c51dbb4db05c040bc7db264bb7ab35e35455
5 changes: 4 additions & 1 deletion trunk/fs/btrfs/extent-tree.c
Original file line number Diff line number Diff line change
Expand Up @@ -5205,6 +5205,8 @@ static noinline int do_walk_down(struct btrfs_trans_handle *trans,
next = btrfs_find_tree_block(root, bytenr, blocksize);
if (!next) {
next = btrfs_find_create_tree_block(root, bytenr, blocksize);
if (!next)
return -ENOMEM;
reada = 1;
}
btrfs_tree_lock(next);
Expand Down Expand Up @@ -5417,7 +5419,8 @@ static noinline int walk_down_tree(struct btrfs_trans_handle *trans,
if (ret > 0) {
path->slots[level]++;
continue;
}
} else if (ret < 0)
return ret;
level = wc->level;
}
return 0;
Expand Down

0 comments on commit ea942b7

Please sign in to comment.