diff --git a/fs/f2fs/data.c b/fs/f2fs/data.c index 8c204f896c22186f0e333872797dc87a2471ed1c..26f38b224bb2a3cdff47987225c010d1de97863b 100644 --- a/fs/f2fs/data.c +++ b/fs/f2fs/data.c @@ -533,6 +533,8 @@ void f2fs_submit_page_write(struct f2fs_io_info *fio) if (fio->in_list) goto next; out: + if (is_sbi_flag_set(sbi, SBI_IS_SHUTDOWN)) + __submit_merged_bio(io); up_write(&io->io_rwsem); }