]> 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)
commitb0216318867590701d21b2d96bfcec247a5518b0
treef6fea479e9c3f74b4ad8097e3aff333cee123dcb
parent1b4f2083d55c8a7d1d5519c643beff8f1941f2cc
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