f2fs: simplify write_orphan_inodes for better readable
authorGu Zheng <guz.fnst@cn.fujitsu.com>
Tue, 19 Nov 2013 10:03:58 +0000 (18:03 +0800)
committerJaegeuk Kim <jaegeuk.kim@samsung.com>
Mon, 23 Dec 2013 01:18:01 +0000 (10:18 +0900)
commit502c6e0bcd95d45f734548e2fcf8a0de494a9095
treea347b1657ddc78b51c391a53ce62372c0585bd49
parentef86d70994b57cf8095d436da76c6684c83ef0b2
f2fs: simplify write_orphan_inodes for better readable

Simplify write_orphan_inodes for better readable. Because we hold the
orphan_inode_mutex, so it's safe to use list_for_each_entry instead of
list_for_each_safe.

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