diff options
author | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2013-05-21 10:17:56 +0900 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2013-05-28 15:03:03 +0900 |
commit | b638f0c4b8fca9d2f82805a2d6601b09283e0d32 (patch) | |
tree | 48c12176c2906dd53269e45aed43ac6210e03d64 /fs/xfs/xfs_attr.c | |
parent | 77888c1e42e8c76e16204cd99c19a01829421402 (diff) |
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>
Diffstat (limited to 'fs/xfs/xfs_attr.c')
0 files changed, 0 insertions, 0 deletions