diff options
author | NeilBrown <neilb@suse.de> | 2010-11-30 08:35:36 +0100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2011-03-10 07:21:03 +0100 |
commit | 515afde355330a2a7643e979418e4d586504650c (patch) | |
tree | 36b6aa5fea8ec7da8ced62de772df60c8b58ae3d /managemon.c | |
parent | ddf: fail creation of new subarray with same name as old. (diff) | |
download | mdadm-515afde355330a2a7643e979418e4d586504650c.tar.xz mdadm-515afde355330a2a7643e979418e4d586504650c.zip |
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>
Diffstat (limited to 'managemon.c')
-rw-r--r-- | managemon.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/managemon.c b/managemon.c index bab03979..3cf2389a 100644 --- a/managemon.c +++ b/managemon.c @@ -396,7 +396,6 @@ static void manage_member(struct mdstat_ent *mdstat, */ // FIXME a->info.array.raid_disks = mdstat->raid_disks; - a->info.array.chunk_size = mdstat->chunk_size; // MORE if (a->check_degraded) { |