Skip to content
Commit e6030cb0 authored by NeilBrown's avatar NeilBrown
Browse files

md/raid5: clear R5_NeedReplace when no longer needed.



This flag is currently never cleared, which can in rare cases
trigger a warn-on if it is still set but the block isn't
InSync.

So clear it when it isn't need, which includes if the replacement
device has failed.

Signed-off-by: default avatarNeilBrown <neilb@suse.com>
parent 90382ed9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment