f2fs: fix to call WRITE_FLUSH at the end of fsync
authorJaegeuk Kim <jaegeuk.kim@samsung.com>
Sat, 16 Mar 2013 02:13:04 +0000 (11:13 +0900)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Wed, 20 Mar 2013 09:30:14 +0000 (18:30 +0900)
commitae51fb31b8c3eb0cedc223782832be393e53623b
treef6e566eb2ce50878599963f0ba11bf5ac237ef13
parent04431c44e55613a91ced16c523f749c08dff91bf
f2fs: fix to call WRITE_FLUSH at the end of fsync

The fsync call should be ended after flushing the in-device caches.

Reviewed-by: Namjae Jeon <namjae.jeon@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
fs/f2fs/file.c