|
@@ -4462,7 +4462,9 @@ static int __btrfs_free_extent(struct btrfs_trans_handle *trans,
|
|
printk(KERN_ERR "umm, got %d back from search"
|
|
printk(KERN_ERR "umm, got %d back from search"
|
|
", was looking for %llu\n", ret,
|
|
", was looking for %llu\n", ret,
|
|
(unsigned long long)bytenr);
|
|
(unsigned long long)bytenr);
|
|
- btrfs_print_leaf(extent_root, path->nodes[0]);
|
|
|
|
|
|
+ if (ret > 0)
|
|
|
|
+ btrfs_print_leaf(extent_root,
|
|
|
|
+ path->nodes[0]);
|
|
}
|
|
}
|
|
BUG_ON(ret);
|
|
BUG_ON(ret);
|
|
extent_slot = path->slots[0];
|
|
extent_slot = path->slots[0];
|