]> git.ipfire.org Git - thirdparty/mdadm.git/commit - super-intel.c
Fix some fall-out from recent memset-zero for getinfo_super
authorNeilBrown <neilb@suse.de>
Thu, 9 Jun 2011 02:42:02 +0000 (12:42 +1000)
committerNeilBrown <neilb@suse.de>
Thu, 9 Jun 2011 02:42:02 +0000 (12:42 +1000)
commit9894ec0d64a9faab719d016bbbf5fbc842757df6
treee448a792b28ad6c9828b546e3db2f31d542092c5
parent6820c9ab02c77bb3d61c01d3064df1ae9b6883a1
Fix some fall-out from recent memset-zero for getinfo_super

container_content_imsm was setting info->next before calling
getinfo_super_imsm_container which now zeros everything.
So move that assignment to afterwards.

So both imsm and ddf were assuming info->disk.raid_disk means
something but it doesn't.  So fix those.

Signed-off-by: NeilBrown <neilb@suse.de>
super-ddf.c
super-intel.c