write_super_imsm_spares(): C statements are terminated by ;
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: NeilBrown <neilb@suse.de>
This commit is contained in:
parent
5d94384e93
commit
68641cdb64
|
@ -5115,13 +5115,13 @@ static int write_super_imsm_spares(struct intel_super *super, int doclose)
|
||||||
__u32 sum;
|
__u32 sum;
|
||||||
struct dl *d;
|
struct dl *d;
|
||||||
|
|
||||||
spare->mpb_size = __cpu_to_le32(sizeof(struct imsm_super)),
|
spare->mpb_size = __cpu_to_le32(sizeof(struct imsm_super));
|
||||||
spare->generation_num = __cpu_to_le32(1UL),
|
spare->generation_num = __cpu_to_le32(1UL);
|
||||||
spare->attributes = MPB_ATTRIB_CHECKSUM_VERIFY;
|
spare->attributes = MPB_ATTRIB_CHECKSUM_VERIFY;
|
||||||
spare->num_disks = 1,
|
spare->num_disks = 1;
|
||||||
spare->num_raid_devs = 0,
|
spare->num_raid_devs = 0;
|
||||||
spare->cache_size = mpb->cache_size,
|
spare->cache_size = mpb->cache_size;
|
||||||
spare->pwr_cycle_count = __cpu_to_le32(1),
|
spare->pwr_cycle_count = __cpu_to_le32(1);
|
||||||
|
|
||||||
snprintf((char *) spare->sig, MAX_SIGNATURE_LENGTH,
|
snprintf((char *) spare->sig, MAX_SIGNATURE_LENGTH,
|
||||||
MPB_SIGNATURE MPB_VERSION_RAID0);
|
MPB_SIGNATURE MPB_VERSION_RAID0);
|
||||||
|
|
Loading…
Reference in New Issue