OSDN Git Service

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)
commit6e47a3cc68fc525428297a00524833361ebbb0e9
treef6fea479e9c3f74b4ad8097e3aff333cee123dcb
parentb6bd243500b6024d92eaaacf592ed8588c2c75ea
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