f2fs: fix to recover data written by dio
authorJaegeuk Kim <jaegeuk@kernel.org>
Tue, 3 Jun 2014 15:39:42 +0000 (00:39 +0900)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 4 Jun 2014 09:41:38 +0000 (18:41 +0900)
commitb6fe5873cb422417ae3fc914954bc5a10fd4e003
treed9e958f62b4ed402a1b10e2592453320c6ff1447
parent1dbe4152168d44fa164edbdc9f1243de70b98f7a
f2fs: fix to recover data written by dio

If data are overwritten through dio, previous f2fs doesn't remain the fsync mark
due to no additional node writes.

Note that this patch should resolve the xfstests:311.

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