f2fs: don't need to collect dirty sit entries and flush journal when there's no dirty...
authorWanpeng Li <wanpeng.li@linux.intel.com>
Fri, 27 Feb 2015 08:52:50 +0000 (16:52 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Fri, 10 Apr 2015 22:08:29 +0000 (15:08 -0700)
 Don't need to collect dirty sit entries and flush sit journal to sit
 entries when there's no dirty sit entries. This patch check dirty_sentries
 earlier just like flush_nat_entries.

Signed-off-by: Wanpeng Li <wanpeng.li@linux.intel.com>
Reviewed-by: Chao Yu <chao2.yu@samsung.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/segment.c

Simple merge