md: Relax checks on ->max_disks when external metadata handling is used.
authorNeilBrown <neilb@suse.de>
Wed, 14 Apr 2010 07:02:09 +0000 (17:02 +1000)
committerNeilBrown <neilb@suse.de>
Tue, 18 May 2010 05:27:49 +0000 (15:27 +1000)
commit233fca36bb439eadcad28500b5139fed7c64a0ae
treedfaec050a24564da4d05ec0e21cd814375eae1e8
parentb71031076e1169e89bdac1b245ad1488587e4730
md: Relax checks on ->max_disks when external metadata handling is used.

When metadata is being managed by user-space, md doesn't know
what the maximum number of devices allowed in an array is
so ->max_disks is 0.  In this case we should allow any (+ve)
number of disks.

Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/md.c