f2fs: iput only if whole data blocks are flushed
authorJaegeuk Kim <jaegeuk.kim@samsung.com>
Mon, 27 May 2013 01:32:01 +0000 (10:32 +0900)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Tue, 28 May 2013 06:03:05 +0000 (15:03 +0900)
If there remains some unwritten blocks from the recovery, we should not call
iput on that directory inode.
Otherwise, we can loose some dentry blocks after the recovery.

Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
fs/f2fs/checkpoint.c

Simple merge