]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: get rid of super block and sbi from handle_mount_ops()
authorLukas Czerner <lczerner@redhat.com>
Wed, 27 Oct 2021 14:18:52 +0000 (16:18 +0200)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 9 Dec 2021 19:11:07 +0000 (14:11 -0500)
commit7a2bf58777e1c366b5930c994d6fed5ba3ed6cfc
treef6fea479e9c3f74b4ad8097e3aff333cee123dcb
parenta1f78e686c21830f3286f3d4f74ec51601babd6f
ext4: get rid of super block and sbi from handle_mount_ops()

At the parsing phase of mount in the new mount api sb will not be
available. We've already removed some uses of sb and sbi, but now we
need to get rid of the rest of it.

Use ext4_fs_context to store all of the configuration specification so
that it can be later applied to the super block and sbi.

Signed-off-by: Lukas Czerner <lczerner@redhat.com>
Reviewed-by: Carlos Maiolino <cmaiolino@redhat.com>
Link: https://lore.kernel.org/r/20211027141857.33657-9-lczerner@redhat.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
fs/ext4/super.c