]> git.ipfire.org Git - thirdparty/mdadm.git/commit - mdstat.c
Fix the count of member devices in mdstat_read function.
authorMarcin Labun <marcin.labun@intel.com>
Tue, 6 Jul 2010 07:49:37 +0000 (17:49 +1000)
committerNeilBrown <neilb@suse.de>
Tue, 6 Jul 2010 08:02:22 +0000 (18:02 +1000)
commit0ad6835c98fd3968d998cf9f3e1d88bdf7ec4a76
tree7bc917ae4259caf03c38a9ca3af198476cd213a2
parentaae3cdc35afd38b8e67fa4a8b4384c9c9d345c60
Fix the count of member devices in mdstat_read function.

Correction of the number of container or volume member devices (devcnt
in struct mdstat_ent). The number after the last devices was counted
towards member of devices.

Signed-off-by: Marcin Labun <marcin.labun@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
mdstat.c