Clearing info structure causes mdadm is not able to create workable volume. During volume creation info structure passed to getinfo() function contains some information already and cannot be cleared. Signed-off-by: Adam Kwolek <adam.kwolek@xxxxxxxxx> --- super-intel.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diff --git a/super-intel.c b/super-intel.c index b8d8b4e..471dbd2 100644 --- a/super-intel.c +++ b/super-intel.c @@ -2075,7 +2075,6 @@ static void getinfo_super_imsm_volume(struct supertype *st, struct mdinfo *info, unsigned int component_size_alligment; int map_disks = info->array.raid_disks; - memset(info, 0, sizeof(*info)); if (prev_map) map_to_analyse = prev_map; -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html