git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a940fc
)
md: range check slot number when manually adding a spare.
author
NeilBrown
<neilb@suse.de>
Thu, 13 Jan 2011 22:14:34 +0000
(09:14 +1100)
committer
NeilBrown
<neilb@suse.de>
Thu, 13 Jan 2011 22:14:34 +0000
(09:14 +1100)
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>
drivers/md/md.c
patch
|
blob
|
history
diff --cc
drivers/md/md.c
Simple merge