mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
md: remove ro check in md_check_recovery()
Commit c89a8eee61 ("Allow faulty devices to be removed from a
readonly array.") added some work on ro array in the function,
but it couldn't be done since we didn't allow the ro array to be
handled from the beginning. Fix it.
Signed-off-by: Namhyung Kim <[email protected]>
Signed-off-by: NeilBrown <[email protected]>
This commit is contained in:
parent
36fad858a7
commit
a478a069b6
1 changed files with 0 additions and 3 deletions
|
|
@ -7163,9 +7163,6 @@ void md_check_recovery(mddev_t *mddev)
|
|||
if (mddev->bitmap)
|
||||
bitmap_daemon_work(mddev);
|
||||
|
||||
if (mddev->ro)
|
||||
return;
|
||||
|
||||
if (signal_pending(current)) {
|
||||
if (mddev->pers->sync_request && !mddev->external) {
|
||||
printk(KERN_INFO "md: %s in immediate safe mode\n",
|
||||
|
|
|
|||
Loading…
Reference in a new issue