]> git.ipfire.org Git - thirdparty/mdadm.git/commit
Grow: use raid_disks, not nr_disks
authorNeilBrown <neilb@suse.de>
Fri, 6 Aug 2010 04:40:53 +0000 (14:40 +1000)
committerNeilBrown <neilb@suse.de>
Fri, 6 Aug 2010 04:40:53 +0000 (14:40 +1000)
commit925211e323e06cc4a5c2b73d8b0ae0b7fdc9730b
tree441dd4173e15cf31ba78f8cc541ade9a87f0475d
parent72044953776dc694d2bdd721ed9e8be4ac7e4e39
Grow: use raid_disks, not nr_disks

nr_disks is just wrong here - the arrays need room for all disk slots,
even if some are empty, plus spares, plus a possible backup file.
So raid_disks is correct.

Signed-off-by: NeilBrown <neilb@suse.de>
Grow.c