--- x/fs/f2fs/super.c +++ y/fs/f2fs/super.c @@ -4169,16 +4169,7 @@ void f2fs_handle_critical_error(struct f */ if (continue_fs || f2fs_readonly(sb) || shutdown) { f2fs_warn(sbi, "Stopped filesystem due to reason: %d", reason); - return; } - - f2fs_warn(sbi, "Remounting filesystem read-only"); - /* - * Make sure updated value of ->s_mount_flags will be visible before - * ->s_flags update - */ - smp_wmb(); - sb->s_flags |= SB_RDONLY; } static void f2fs_record_error_work(struct work_struct *work)