f2fs: use IPU for fdatasync
authorJaegeuk Kim <jaegeuk@kernel.org>
Thu, 31 Dec 2015 21:49:17 +0000 (13:49 -0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 31 Dec 2015 21:49:17 +0000 (13:49 -0800)
commitc46a155bdf3c8877719aa63d1bf1d6e79e2a9764
tree5e2388b5ca095d0dfc51b5f4297e5418ba3e5ba7
parent8d4ea29b6426470456ee9daee64bac55a3b13289
f2fs: use IPU for fdatasync

This patch fixes missing IPU condition when fdatasync is called.
With this patch, fdatasync is able to avoid additional node writes for recovery.

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