]> 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)
commit75f79933b8082ced5442402e47c4eb182686efd3
treeae2909ecb4036e754e3a9532eef5b0a3a3c0dbce
parentc9c2a627683984c329f9a89c41af1ab1306fbf0a
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