f2fs: fix flushing node pages when checkpoint is disabled
authorJaegeuk Kim <jaegeuk@kernel.org>
Thu, 29 Aug 2019 02:58:26 +0000 (19:58 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 6 Sep 2019 23:18:26 +0000 (16:18 -0700)
commit100c06554ef3020f7836bb34dfec4cc2a7cbf30a
tree665e8fdd65217dc5be5b129055685f840913f9d1
parent00e09c0bccc71825ca9a659eb145ed7c4dc95588
f2fs: fix flushing node pages when checkpoint is disabled

This patch fixes skipping node page writes when checkpoint is disabled.
In this period, we can't rely on checkpoint to flush node pages.

Fixes: fd8c8caf7e7c ("f2fs: let checkpoint flush dnode page of regular")
Fixes: 4354994f097d ("f2fs: checkpoint disabling")
Reviewed-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/node.c