aboutsummaryrefslogtreecommitdiffstats
path: root/net/dsa/mv88e6123_61_65.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2011-12-22 18:17:55 -0500
committerNeilBrown <neilb@suse.de>2011-12-22 18:17:55 -0500
commit4ca40c2ce099e4f1ce35445994f49836662596c8 (patch)
tree7d6f2187e8d6aaab0cdcf4924017aeb9725d87b0 /net/dsa/mv88e6123_61_65.c
parent24afd80d99f80a79d8824d2805114b8b067e9823 (diff)
md/raid10: Allow replacement device to be replace old drive.
When recovery finish and spare_active is called, check for a replace that might have just become fully synced and mark it as such, marking the original as failed. Then when the original is removed, move the replacement into its position. This means that 'replacement' and spontaneously become NULL in some situations. Make sure we check for those. It also means that 'rdev' and 'replacement' could appear to be identical - check for that too. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'net/dsa/mv88e6123_61_65.c')
0 files changed, 0 insertions, 0 deletions