ext4: factor out ext4_load_and_init_journal()
authorJason Yan <yanaijie@huawei.com>
Fri, 16 Sep 2022 14:15:23 +0000 (22:15 +0800)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 1 Oct 2022 03:46:53 +0000 (23:46 -0400)
commit9c1dd22d742249cfae7bbf3680a7c188d194d3ce
tree82acd9751b7caa6b7808202328e0c7a5de084c28
parenta4e6a511d7de5d2afa4e8138146c29b926c6a449
ext4: factor out ext4_load_and_init_journal()

This patch group the journal load and initialize code together and
factor out ext4_load_and_init_journal(). This patch also removes the
lable 'no_journal' which is not needed after refactor.

Signed-off-by: Jason Yan <yanaijie@huawei.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com>
Link: https://lore.kernel.org/r/20220916141527.1012715-13-yanaijie@huawei.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/super.c