f2fs: flush dirty pages before starting atomic writes
authorJaegeuk Kim <jaegeuk@kernel.org>
Tue, 12 Apr 2016 21:36:11 +0000 (14:36 -0700)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 15 Apr 2016 15:50:25 +0000 (08:50 -0700)
commitc27753d675fccd3b15a78621a2a66616507693d4
tree2205e04b3163f3caab4abfb486a66f56dce6c320
parent63c52d7878903a014fa4c9075afd051b1e77597b
f2fs: flush dirty pages before starting atomic writes

If somebody wrote some data before atomic writes, we should flush them in order
to handle atomic data in a right period.

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