commit | e6030cb06c40e4ab4e8c712f13f494a09638ed2c | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.com> | Fri Jul 17 13:26:23 2015 +1000 |
committer | NeilBrown <neilb@suse.com> | Fri Jul 24 13:38:04 2015 +1000 |
tree | 8f87729041def172e57f18ff49ba6b8decd65e90 | |
parent | 90382ed9afeafd42ef193f0eadc6b2a252d6c24d [diff] |
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: NeilBrown <neilb@suse.com>