f2fs: wait on page's writeback in writepages path
authorJaegeuk Kim <jaegeuk@kernel.org>
Thu, 28 Jan 2016 19:48:52 +0000 (11:48 -0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 23 Feb 2016 00:07:23 +0000 (16:07 -0800)
commitfa3d2bdf94879c3645b3688e88ca03deb3bb495a
treed057b0016198dd43da4c54c99c9a7089a78d4074
parent479c8bc40c51535bf496440aa1d6af26e4ff9362
f2fs: wait on page's writeback in writepages path

Likewise f2fs_write_cache_pages, let's do for node and meta pages too.
Especially, for node blocks, we should do this before marking its fsync
and dentry flags.

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/checkpoint.c
fs/f2fs/node.c