Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 311651
b: refs/heads/master
c: 9345457
h: refs/heads/master
i:
  311649: ab541ed
  311647: 5fd51f3
v: v3
  • Loading branch information
Jan Schmidt committed Jun 27, 2012
1 parent 5ee2be2 commit e6e0728
Show file tree
Hide file tree
Showing 2 changed files with 9 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: 8ca78f3eda4bf1799e8c4ba02035623fd7a347df
refs/heads/master: 9345457f4a539a40056431aeb6f068750857472f
12 changes: 8 additions & 4 deletions trunk/fs/btrfs/backref.c
Original file line number Diff line number Diff line change
Expand Up @@ -301,10 +301,14 @@ static int __resolve_indirect_ref(struct btrfs_fs_info *fs_info,
goto out;

eb = path->nodes[level];
if (!eb) {
WARN_ON(1);
ret = 1;
goto out;
while (!eb) {
if (!level) {
WARN_ON(1);
ret = 1;
goto out;
}
level--;
eb = path->nodes[level];
}

ret = add_all_parents(root, path, parents, level, &ref->key_for_search,
Expand Down

0 comments on commit e6e0728

Please sign in to comment.