]> git.ipfire.org Git - thirdparty/linux.git/commit
f2fs: simplify list initialization in f2fs_recover_fsync_data()
authorBaolin Liu <liubaolin@kylinos.cn>
Tue, 11 Nov 2025 12:17:28 +0000 (20:17 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Thu, 4 Dec 2025 02:00:04 +0000 (02:00 +0000)
commit24fd7f00161055e1ca0dd137a1d67f87fa781f99
tree02f317e09a55704850095aa828e98e898eaf61ea
parent7ee8bc3942f20964ad730871b885688ea3a2961a
f2fs: simplify list initialization in f2fs_recover_fsync_data()

In f2fs_recover_fsync_data(),use LIST_HEAD() to declare and
initialize the list_head in one step instead of using
INIT_LIST_HEAD() separately.

No functional change.

Signed-off-by: Baolin Liu <liubaolin@kylinos.cn>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/recovery.c