summaryrefslogtreecommitdiff
path: root/volumes.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2012-02-21 21:20:54 -0500
committerChris Mason <chris.mason@oracle.com>2012-02-22 10:59:55 -0500
commite22827e9bb9634540d32bf29b23b26989e384902 (patch)
treebb51c2126f2779bd9209a6397b2d78ba19b6e2f9 /volumes.c
parent8f01235dd8cf65c064f1b979d24a989ca296ea33 (diff)
btrfsck: add early code to handle corrupted block groups
This is mostly disabled, but it is step one in handling corrupted block groups in the extent allocation tree. Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'volumes.c')
-rw-r--r--volumes.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/volumes.c b/volumes.c
index 375713f2..8dca5e10 100644
--- a/volumes.c
+++ b/volumes.c
@@ -35,18 +35,6 @@ struct stripe {
u64 physical;
};
-struct map_lookup {
- struct cache_extent ce;
- u64 type;
- int io_align;
- int io_width;
- int stripe_len;
- int sector_size;
- int num_stripes;
- int sub_stripes;
- struct btrfs_bio_stripe stripes[];
-};
-
#define map_lookup_size(n) (sizeof(struct map_lookup) + \
(sizeof(struct btrfs_bio_stripe) * (n)))