From: Jaegeuk Kim Date: Tue, 21 May 2013 01:17:56 +0000 (+0900) Subject: f2fs: fix wrong condition check X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~81^2~36 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b638f0c4b8fca9d2f82805a2d6601b09283e0d32;p=pandora-kernel.git f2fs: fix wrong condition check While an orphan inode has zero link_count, f2fs_gc is able to select the inode for foreground gc. - f2fs_gc - do_garbage_collect - gc_data_segment : f2fs_iget is failed : get_valid_blocks() != 0, so that retry --> here we got the infinite loop. This patch resolved this issue. Signed-off-by: Jaegeuk Kim --- Reading git-diff-tree failed