diff options
Diffstat (limited to 'drivers/md')
-rw-r--r-- | drivers/md/md.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/md.c b/drivers/md/md.c index 43cf9cc9c1df..bdd9bba577b0 100644 --- a/drivers/md/md.c +++ b/drivers/md/md.c | |||
@@ -7069,7 +7069,7 @@ void md_check_recovery(mddev_t *mddev) | |||
7069 | if (mddev->ro && !test_bit(MD_RECOVERY_NEEDED, &mddev->recovery)) | 7069 | if (mddev->ro && !test_bit(MD_RECOVERY_NEEDED, &mddev->recovery)) |
7070 | return; | 7070 | return; |
7071 | if ( ! ( | 7071 | if ( ! ( |
7072 | (mddev->flags && !mddev->external) || | 7072 | (mddev->flags & ~ (1<<MD_CHANGE_PENDING)) || |
7073 | test_bit(MD_RECOVERY_NEEDED, &mddev->recovery) || | 7073 | test_bit(MD_RECOVERY_NEEDED, &mddev->recovery) || |
7074 | test_bit(MD_RECOVERY_DONE, &mddev->recovery) || | 7074 | test_bit(MD_RECOVERY_DONE, &mddev->recovery) || |
7075 | (mddev->external == 0 && mddev->safemode == 1) || | 7075 | (mddev->external == 0 && mddev->safemode == 1) || |