summaryrefslogtreecommitdiff
path: root/print-tree.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2012-02-07 05:13:24 -0500
committerChris Mason <chris.mason@oracle.com>2012-02-07 10:58:32 -0500
commitf5c4c4f3b75bde259640584761fc74a395056aad (patch)
tree4f5d2513e7b25abb16ec709abf770c368cc75a40 /print-tree.c
parent34c0fea109b6c4827cb8568ac35a54c66be97a5c (diff)
btrfsck: add code to rebuild extent records
This also includes a new --repair btrfsck option. For now it can only fix errors in the extent allocation tree. Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'print-tree.c')
-rw-r--r--print-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/print-tree.c b/print-tree.c
index 494ba8b5..fc134c08 100644
--- a/print-tree.c
+++ b/print-tree.c
@@ -239,7 +239,7 @@ static void print_extent_item(struct extent_buffer *eb, int slot)
btrfs_shared_data_ref_count(eb, sref));
break;
default:
- BUG();
+ return;
}
ptr += btrfs_extent_inline_ref_size(type);
}