]> git.baikalelectronics.ru Git - kernel.git/commit
f2fs: add f2fs_init_write_merge_io function
authorYufen Yu <yuyufen@huawei.com>
Wed, 25 May 2022 09:43:36 +0000 (17:43 +0800)
committerJaegeuk Kim <jaegeuk@kernel.org>
Wed, 25 May 2022 17:48:56 +0000 (10:48 -0700)
commit33af64a14ab02541be0bce46e2b092a592587646
treef39bf74b1d0cf8464b80431e2976e0f527341d42
parent57c9cd4b360576cc8c8d534d9675f2164a9215a7
f2fs: add f2fs_init_write_merge_io function

Almost all other initialization of variables in f2fs_fill_super are
extraced to a single function. Also do it for write_io[], which can
make code more clean.

This patch just refactors the code, theres no functional change.

Signed-off-by: Yufen Yu <yuyufen@huawei.com>
Reviewed-by: Chao Yu <chao@kernel.org>
[Jaegeuk Kim: clean up]
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/data.c
fs/f2fs/f2fs.h
fs/f2fs/super.c