block, partition: add partition_meta_info to hd_struct
[linux-flexiantxendom0-3.2.10.git] / fs / partitions / check.h
index 8e4e103..d68bf4d 100644 (file)
@@ -1,5 +1,6 @@
 #include <linux/pagemap.h>
 #include <linux/blkdev.h>
+#include <linux/genhd.h>
 
 /*
  * add_gd_partition adds a partitions details to the devices partition
@@ -12,6 +13,8 @@ struct parsed_partitions {
                sector_t from;
                sector_t size;
                int flags;
+               bool has_info;
+               struct partition_meta_info info;
        } parts[DISK_MAX_PARTS];
        int next;
        int limit;