From f5c4c4f3b75bde259640584761fc74a395056aad Mon Sep 17 00:00:00 2001 From: Chris Mason Date: Tue, 7 Feb 2012 05:13:24 -0500 Subject: 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 --- print-tree.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'print-tree.c') 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); } -- cgit v1.2.3