Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 180274
b: refs/heads/master
c: 7a7965f
h: refs/heads/master
v: v3
  • Loading branch information
Yan, Zheng authored and Chris Mason committed Feb 4, 2010
1 parent 49c72b0 commit 7cb6a76
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: d7ce5843bb28ada6845ab2ae8510ba3f12d33154
refs/heads/master: 7a7965f83e89f0be506a96769938a721e4e5ae50
8 changes: 4 additions & 4 deletions trunk/fs/btrfs/extent-tree.c
Original file line number Diff line number Diff line change
Expand Up @@ -5402,17 +5402,17 @@ static noinline int walk_down_tree(struct btrfs_trans_handle *trans,
int ret;

while (level >= 0) {
if (path->slots[level] >=
btrfs_header_nritems(path->nodes[level]))
break;

ret = walk_down_proc(trans, root, path, wc, lookup_info);
if (ret > 0)
break;

if (level == 0)
break;

if (path->slots[level] >=
btrfs_header_nritems(path->nodes[level]))
break;

ret = do_walk_down(trans, root, path, wc, &lookup_info);
if (ret > 0) {
path->slots[level]++;
Expand Down

0 comments on commit 7cb6a76

Please sign in to comment.