Jaegeuk Kim b638f0c4b8 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 <jaegeuk.kim@samsung.com>
2013-05-28 15:03:03 +09:00
..
2013-04-09 14:13:05 -04:00
2012-12-11 13:43:42 +09:00
2013-05-28 15:03:03 +09:00
2013-05-28 15:03:02 +09:00
2013-05-28 15:03:03 +09:00
2013-05-28 15:03:03 +09:00
2013-04-26 10:35:03 +09:00
2013-05-28 15:03:03 +09:00
2012-12-11 13:43:43 +09:00
2012-12-11 13:43:42 +09:00
2013-04-09 18:21:24 +09:00
2013-05-28 15:03:03 +09:00
2012-12-11 13:43:42 +09:00