diff options
author | Yunlei He <heyunlei@huawei.com> | 2017-06-01 10:43:51 +0200 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2017-07-04 11:11:33 +0200 |
commit | d4fdf8ba0e5808ba9ad6b44337783bd9935e0982 (patch) | |
tree | 12dee32e3d74397f78ebd5f7d321283115025f6a /kernel/smp.c | |
parent | f2fs: remove the unnecessary cast for PTR_ERR (diff) | |
download | linux-d4fdf8ba0e5808ba9ad6b44337783bd9935e0982.tar.xz linux-d4fdf8ba0e5808ba9ad6b44337783bd9935e0982.zip |
f2fs: fix a panic caused by NULL flush_cmd_control
Mount fs with option noflush_merge, boot failed for illegal address
fcc in function f2fs_issue_flush:
if (!test_opt(sbi, FLUSH_MERGE)) {
ret = submit_flush_wait(sbi);
atomic_inc(&fcc->issued_flush); -> Here, fcc illegal
return ret;
}
Signed-off-by: Yunlei He <heyunlei@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'kernel/smp.c')
0 files changed, 0 insertions, 0 deletions