]> git.baikalelectronics.ru Git - kernel.git/commit
ext4: switch to the new mount api
authorLukas Czerner <lczerner@redhat.com>
Wed, 27 Oct 2021 14:18:56 +0000 (16:18 +0200)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 9 Dec 2021 19:11:08 +0000 (14:11 -0500)
commit702ba83a739f685fcec7449c0c76de8c75e8499f
treeae2909ecb4036e754e3a9532eef5b0a3a3c0dbce
parentbbb4c00b2ac182bb7c0e24b6f395b7249bc77c07
ext4: switch to the new mount api

Add the necessary functions for the fs_context_operations. Convert and
rename ext4_remount() and ext4_fill_super() to ext4_get_tree() and
ext4_reconfigure() respectively and switch the ext4 to use the new api.

One user facing change is the fact that we no longer have access to the
entire string of mount options provided by mount(2) since the mount api
does not store it anywhere. As a result we can't print the options to
the log as we did in the past after the successful mount.

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