Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 155909
b: refs/heads/master
c: e457afe
h: refs/heads/master
i:
  155907: cc07e95
v: v3
  • Loading branch information
Yan Zheng authored and Chris Mason committed Jul 22, 2009
1 parent 812006a commit 6e28c2a
Show file tree
Hide file tree
Showing 2 changed files with 3 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: bf1fb512a58d7aeb41aaa40d6d2d2d29e08e506a
refs/heads/master: e457afec60fdbd86b963d36f4a8a9285088c6043
3 changes: 2 additions & 1 deletion trunk/fs/btrfs/ctree.c
Original file line number Diff line number Diff line change
Expand Up @@ -4146,7 +4146,8 @@ int btrfs_next_leaf(struct btrfs_root *root, struct btrfs_path *path)
* advance the path if there are now more items available.
*/
if (nritems > 0 && path->slots[0] < nritems - 1) {
path->slots[0]++;
if (ret == 0)
path->slots[0]++;
ret = 0;
goto done;
}
Expand Down

0 comments on commit 6e28c2a

Please sign in to comment.