diff options
Diffstat (limited to 'fs/btrfs/extent-tree.c')
-rw-r--r-- | fs/btrfs/extent-tree.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c index 6949eebc9dc1..fe02fbfa6d59 100644 --- a/fs/btrfs/extent-tree.c +++ b/fs/btrfs/extent-tree.c | |||
@@ -584,8 +584,6 @@ static int update_block_group(struct btrfs_trans_handle *trans, | |||
584 | while(total) { | 584 | while(total) { |
585 | cache = btrfs_lookup_block_group(info, blocknr); | 585 | cache = btrfs_lookup_block_group(info, blocknr); |
586 | if (!cache) { | 586 | if (!cache) { |
587 | printk(KERN_CRIT "blocknr %Lu lookup failed\n", | ||
588 | blocknr); | ||
589 | return -1; | 587 | return -1; |
590 | } | 588 | } |
591 | block_in_group = blocknr - cache->key.objectid; | 589 | block_in_group = blocknr - cache->key.objectid; |
@@ -795,9 +793,6 @@ static int __free_extent(struct btrfs_trans_handle *trans, struct btrfs_root | |||
795 | 793 | ||
796 | ret = btrfs_search_slot(trans, extent_root, &key, path, -1, 1); | 794 | ret = btrfs_search_slot(trans, extent_root, &key, path, -1, 1); |
797 | if (ret) { | 795 | if (ret) { |
798 | printk("failed to find %Lu\n", key.objectid); | ||
799 | btrfs_print_tree(extent_root, extent_root->node); | ||
800 | printk("failed to find %Lu\n", key.objectid); | ||
801 | BUG(); | 796 | BUG(); |
802 | } | 797 | } |
803 | ei = btrfs_item_ptr(btrfs_buffer_leaf(path->nodes[0]), path->slots[0], | 798 | ei = btrfs_item_ptr(btrfs_buffer_leaf(path->nodes[0]), path->slots[0], |