summaryrefslogtreecommitdiff
path: root/btrfsck.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2007-06-09 09:22:37 -0400
committerDavid Woodhouse <dwmw2@hera.kernel.org>2007-06-09 09:22:37 -0400
commitb53a236c3eea3ce01a0054c249cb0b974b9568c6 (patch)
tree82277d8bd2b18794427464e1b7080e51af578387 /btrfsck.c
parentf8d7bbd1fab8ed5c8f7c75d43c6dbe4bfb4f847a (diff)
remove device tree
Diffstat (limited to 'btrfsck.c')
-rw-r--r--btrfsck.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/btrfsck.c b/btrfsck.c
index 580fe440..e46e4acc 100644
--- a/btrfsck.c
+++ b/btrfsck.c
@@ -316,11 +316,13 @@ static int run_next_block(struct btrfs_root *root,
struct btrfs_block_group_item *bi;
bi = btrfs_item_ptr(leaf, i,
struct btrfs_block_group_item);
+#if 0
fprintf(stderr,"block group %Lu %Lu used %Lu ",
btrfs_disk_key_objectid(disk_key),
btrfs_disk_key_offset(disk_key),
btrfs_block_group_used(bi));
fprintf(stderr, "flags %x\n", bi->flags);
+#endif
continue;
}
if (btrfs_disk_key_type(&leaf->items[i].key) !=
@@ -452,8 +454,6 @@ int main(int ac, char **av) {
add_root_to_pending(root->fs_info->tree_root->node, bits, bits_nr,
&extent_radix, &pending, &seen, &reada, &nodes);
- add_root_to_pending(root->fs_info->dev_root->node, bits, bits_nr,
- &extent_radix, &pending, &seen, &reada, &nodes);
btrfs_init_path(&path);
key.offset = 0;