f2fs: no need to check other dirty_segmap when the seg has been found
authorHaicheng Li <haicheng.li@linux.intel.com>
Fri, 18 Oct 2013 09:24:08 +0000 (17:24 +0800)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Tue, 22 Oct 2013 10:57:31 +0000 (19:57 +0900)
commit435f2a1b58ac8f50894f23549c97791085f7cba2
tree6f8bfb66fc20019dedbafc9215ce7abb46b0d2a7
parentcffbfa66485e4940091d7e64024e802314d24c09
f2fs: no need to check other dirty_segmap when the seg has been found

Because one dirty seg can only be mapped to one dirty_type. Otherwise, it's a bug.

Signed-off-by: Haicheng Li <haicheng.li@linux.intel.com>
[Jaegeuk Kim: modify a comment related to this patch]
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
fs/f2fs/segment.c