aboutsummaryrefslogtreecommitdiff
path: root/fs/ext4/mmp.c
diff options
context:
space:
mode:
authorMark Brown <broonie@kernel.org>2018-09-06 10:38:21 +0100
committerMark Brown <broonie@kernel.org>2018-09-06 10:38:21 +0100
commitfad85e237bcefd51b8536244ca22cf2730c00cdd (patch)
treef947ee3cf1700c45fb75fe5cca9633eb24fe9847 /fs/ext4/mmp.c
parent2d1be36bfd944d3348f5c2167ba8e372bd5584f5 (diff)
parentee13f7edca5838436feefde90ed1b2ebb07c4184 (diff)
Merge tag 'v4.14.68' into linux-linaro-lsk-v4.14
This is the 4.14.68 stable release
Diffstat (limited to 'fs/ext4/mmp.c')
-rw-r--r--fs/ext4/mmp.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/fs/ext4/mmp.c b/fs/ext4/mmp.c
index 27b9a76a0dfa..638ad4743477 100644
--- a/fs/ext4/mmp.c
+++ b/fs/ext4/mmp.c
@@ -186,11 +186,8 @@ static int kmmpd(void *data)
goto exit_thread;
}
- if (sb_rdonly(sb)) {
- ext4_warning(sb, "kmmpd being stopped since filesystem "
- "has been remounted as readonly.");
- goto exit_thread;
- }
+ if (sb_rdonly(sb))
+ break;
diff = jiffies - last_update_time;
if (diff < mmp_update_interval * HZ)