f2fs: check dirty_nat_cnt before flushing nat entries in journal
authorChangman Lee <cm224.lee@samsung.com>
Tue, 25 Nov 2014 03:44:23 +0000 (12:44 +0900)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 26 Nov 2014 01:26:34 +0000 (17:26 -0800)
It's meaningless to check dirty_nat_cnt after re-dirtying nat entries in
journal. And although there are rooms for dirty nat entires if dirty_nat_cnt
is zero, it's also meaningless to check __has_cursum_space.

Signed-off-by: Changman Lee <cm224.lee@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/node.c

diff --cc fs/f2fs/node.c
Simple merge