From: Haicheng Li Date: Mon, 6 May 2013 15:15:43 +0000 (+0800) Subject: f2fs: optimize scan_nat_page() X-Git-Tag: v3.10-rc1~45^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23d38844276680abbf33624f56b6779d43f53633;p=pandora-kernel.git f2fs: optimize scan_nat_page() When nm_i->fcnt > 2 * MAX_FREE_NIDS, stop scanning other NAT entries. Signed-off-by: Haicheng Li [Jaegeuk Kim: fix handling the return value of add_free_nid()] Signed-off-by: Jaegeuk Kim --- Reading git-diff-tree failed