diff options
author | majianpeng <majianpeng@gmail.com> | 2013-01-29 12:19:02 +0400 |
---|---|---|
committer | Jaegeuk Kim <jaegeuk.kim@samsung.com> | 2013-02-12 02:15:00 +0400 |
commit | a2617dc6863b21a8109c199ab533b3dbfe178f27 (patch) | |
tree | b628ad6d5ada7b4d05fc48d55dae50834da4e9d6 /fs/f2fs/gc.c | |
parent | aa43507f68e44fbc014d820e47eda5a369b8dc9d (diff) | |
download | linux-a2617dc6863b21a8109c199ab533b3dbfe178f27.tar.xz |
f2fs: clean up the add_orphan_inode func
For the code
> prev = list_entry(orphan->list.prev, typeof(*prev), list);
if orphan->list.prev == head, it can't get the right prev.
And we can use the parameter 'this' to add.
Signed-off-by: Jianpeng Ma <majianpeng@gmail.com>
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
Diffstat (limited to 'fs/f2fs/gc.c')
0 files changed, 0 insertions, 0 deletions