]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - part.h
Incremental: Remove redundant call for GET_ARRAY_INFO
[thirdparty/mdadm.git] / part.h
diff --git a/part.h b/part.h
index 0afea33b064d2d09d4615d191bf9a781cefb481e..e697fb4684917bda9eac64df7cdff0348f2e133b 100644 (file)
--- a/part.h
+++ b/part.h
@@ -26,7 +26,6 @@
 /* Structure definitions ext  for MBR and GPT partition tables
  */
 
-
 #define        MBR_SIGNATURE_MAGIC     __cpu_to_le16(0xAA55)
 #define MBR_PARTITIONS               4
 
@@ -41,7 +40,7 @@ struct MBR_part_record {
   __u8 last_cyl;
   __u32 first_sect_lba;
   __u32 blocks_num;
-};
+} __attribute__((packed));
 
 struct MBR {
        __u8 pad[446];
@@ -49,8 +48,6 @@ struct MBR {
        __u16 magic;
 } __attribute__((packed));
 
-
-
 #define        GPT_SIGNATURE_MAGIC     __cpu_to_le64(0x5452415020494645ULL)
 #define MBR_GPT_PARTITION_TYPE       0xEE