diff options
author | Chris Mason <chris.mason@oracle.com> | 2012-02-07 05:13:24 -0500 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2012-02-07 10:58:32 -0500 |
commit | f5c4c4f3b75bde259640584761fc74a395056aad (patch) | |
tree | 4f5d2513e7b25abb16ec709abf770c368cc75a40 /print-tree.c | |
parent | 34c0fea109b6c4827cb8568ac35a54c66be97a5c (diff) | |
download | btrfs-progs-f5c4c4f3b75bde259640584761fc74a395056aad.tar.gz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/print-tree.c b/print-tree.c index 494ba8b..fc134c0 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); } |