summaryrefslogtreecommitdiff
path: root/drivers/leds/leds-net48xx.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2011-01-13 22:14:34 (GMT)
committerNeilBrown <neilb@suse.de>2011-01-13 22:14:34 (GMT)
commitba1b41b6b4e30cb66ae2775faadea05cae3ce61c (patch)
tree02da80f72095418dd1a08661f59c24607029a8e7 /drivers/leds/leds-net48xx.c
parent1a940fcee31ec6c18c2f24dbdad31d54e4c35048 (diff)
downloadlinux-fsl-qoriq-ba1b41b6b4e30cb66ae2775faadea05cae3ce61c.tar.xz
md: range check slot number when manually adding a spare.
When adding a spare to an active array, we should check the slot number, but allow it to be larger than raid_disks if a reshape is being prepared. Apply the same test when adding a device to an array-under-construction. It already had most of the test in place, but not quite all. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/leds/leds-net48xx.c')
0 files changed, 0 insertions, 0 deletions