diff options
author | NeilBrown <neilb@suse.de> | 2010-03-16 17:23:35 +1100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2010-05-18 15:27:47 +1000 |
commit | 84707f38e767ac470fd82af6c45a8cafe2bd1b9a (patch) | |
tree | bc480c9aeedccd735e144576284523da1406cb98 /drivers/usb/host/ohci-ps3.c | |
parent | c0cc75f84e0e413bce2dcabea74ef418da45c7c1 (diff) |
md: don't use mddev->raid_disks in raid0 or raid10 while array is active.
In a subsequent patch we will make it possible to change
mddev->raid_disks while a RAID0 or RAID10 array is active. This is
part of the process of reshaping such an array.
This means that we cannot use this value while processes requests
(it is OK to use it during initialisation as we are locked against
changes then).
Both RAID0 and RAID10 have the same value stored in the private data
structure, so use that value instead.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/usb/host/ohci-ps3.c')
0 files changed, 0 insertions, 0 deletions