f2fs: use list_for_each rather than list_for_each_safe, in remove_orphan_inode()
authorGu Zheng <guz.fnst@cn.fujitsu.com>
Fri, 19 Jul 2013 08:24:06 +0000 (16:24 +0800)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Tue, 30 Jul 2013 06:17:03 +0000 (15:17 +0900)
commit60ed9a0f53c55d4be3882f7522e8349a5011a1d5
tree9bac84b5b1b8f6cbcdb63cbd60811e151bc42fcc
parent2d219c518882d2b2bac77742a6a8979c9dad051a
f2fs: use list_for_each rather than list_for_each_safe, in remove_orphan_inode()

As we remove the target single node, so list_for_each is enought, in order to
clean up, we use list_for_each_entry instead.

Signed-off-by: Gu Zheng <guz.fnst@cn.fujitsu.com>
Signed-off-by: Jaegeuk Kim <jaegeuk.kim@samsung.com>
fs/f2fs/checkpoint.c