]> git.ipfire.org Git - thirdparty/mdadm.git/commit
mdmon: don't copy an invalid chunk_size
authorNeilBrown <neilb@suse.de>
Tue, 30 Nov 2010 07:35:36 +0000 (18:35 +1100)
committerNeilBrown <neilb@suse.de>
Tue, 30 Nov 2010 07:35:36 +0000 (18:35 +1100)
commitab2bb0b62177635b3f2a7336c31a59af9d1f6308
tree8ed0dd1318b9e12e380cf17bb78c34855a1d2915
parent484ae54d16d7e4c271a484cdd691a5ba7c52d6d6
mdmon: don't copy an invalid chunk_size

As chunk_size in mdstat_ent is never set, we shouldn't copy
it into a->info.array.
In fact, it is safest to get rid of the field altogether.

Reported-by: "Kwolek, Adam" <adam.kwolek@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
managemon.c
mdadm.h
mdstat.c