diff options
author | NeilBrown <neilb@suse.com> | 2015-07-17 13:26:23 +1000 |
---|---|---|
committer | NeilBrown <neilb@suse.com> | 2015-07-24 13:38:04 +1000 |
commit | e6030cb06c40e4ab4e8c712f13f494a09638ed2c (patch) | |
tree | 8f87729041def172e57f18ff49ba6b8decd65e90 /drivers/md/md.c | |
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>
Diffstat (limited to 'drivers/md/md.c')
0 files changed, 0 insertions, 0 deletions