X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Flinux%2Fraid%2Fmd_p.h;h=8ba95d67329f0b6189d80795ee807f62e8ae17b7;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=022b607bf9d8097e51f171b1030da166bc473f4d;hpb=5273a3df6485dc2ad6aa7ddd441b9a21970f003b;p=linux-2.6.git diff --git a/include/linux/raid/md_p.h b/include/linux/raid/md_p.h index 022b607bf..8ba95d673 100644 --- a/include/linux/raid/md_p.h +++ b/include/linux/raid/md_p.h @@ -197,7 +197,7 @@ struct mdp_superblock_1 { __u32 chunksize; /* in 512byte sectors */ __u32 raid_disks; - __u8 pad1[128-92]; /* set to 0 when written */ + __u8 pad1[128-96]; /* set to 0 when written */ /* constant this-device information - 64 bytes */ __u64 data_offset; /* sector start of data, often 0 */ @@ -215,7 +215,7 @@ struct mdp_superblock_1 { __u64 resync_offset; /* data before this offset (from data_offset) known to be in sync */ __u32 sb_csum; /* checksum upto devs[max_dev] */ __u32 max_dev; /* size of devs[] array to consider */ - __u8 pad3[64-40]; /* set to 0 when writing */ + __u8 pad3[64-32]; /* set to 0 when writing */ /* device state information. Indexed by dev_number. * 2 bytes per device