md/raid5: handle manually-added spares in start_reshape.
authorNeilBrown <neilb@suse.de>
Thu, 13 Jan 2011 22:14:34 +0000 (09:14 +1100)
committerNeilBrown <neilb@suse.de>
Thu, 13 Jan 2011 22:14:34 +0000 (09:14 +1100)
commit1a940fcee31ec6c18c2f24dbdad31d54e4c35048
tree73de19d505bb0483462eb1445a86a848e5506478
parent13ae864bc86ff65547ffe7e966b6433a0d0edb8a
md/raid5: handle manually-added spares in start_reshape.

It is possible to manually add spares to specific slots before
starting a reshape.
raid5_start_reshape should recognised this possibility and include
it in the accounting.

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