diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/btrfs/extent-tree.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c index b172b7fa4889..66bac226944e 100644 --- a/fs/btrfs/extent-tree.c +++ b/fs/btrfs/extent-tree.c | |||
@@ -4462,7 +4462,9 @@ static int __btrfs_free_extent(struct btrfs_trans_handle *trans, | |||
4462 | printk(KERN_ERR "umm, got %d back from search" | 4462 | printk(KERN_ERR "umm, got %d back from search" |
4463 | ", was looking for %llu\n", ret, | 4463 | ", was looking for %llu\n", ret, |
4464 | (unsigned long long)bytenr); | 4464 | (unsigned long long)bytenr); |
4465 | btrfs_print_leaf(extent_root, path->nodes[0]); | 4465 | if (ret > 0) |
4466 | btrfs_print_leaf(extent_root, | ||
4467 | path->nodes[0]); | ||
4466 | } | 4468 | } |
4467 | BUG_ON(ret); | 4469 | BUG_ON(ret); |
4468 | extent_slot = path->slots[0]; | 4470 | extent_slot = path->slots[0]; |