f2fs: switch to the new mount api
authorHongbo Li <lihongbo22@huawei.com>
Thu, 10 Jul 2025 12:14:15 +0000 (12:14 +0000)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 22 Jul 2025 15:58:15 +0000 (15:58 +0000)
commit94b3ce7f1509d91fbe3f84f367b622cbb2c1af7e
treec0917ba91cab3386fcbcb6cced6a56fd1898e5a8
parentbb463a75ab2fc5b7322d342808d1dacf34abe79e
f2fs: switch to the new mount api

The new mount api will execute .parse_param, .init_fs_context, .get_tree
and will call .remount if remount happened. So we add the necessary
functions for the fs_context_operations. If .init_fs_context is added,
the old .mount should remove.

See Documentation/filesystems/mount_api.rst for more information.

Signed-off-by: Hongbo Li <lihongbo22@huawei.com>
[sandeen: forward port]
Signed-off-by: Eric Sandeen <sandeen@redhat.com>
[hongbo: context modified]
Signed-off-by: Hongbo Li <lihongbo22@huawei.com>
Reviewed-by: Chao Yu <chao@kernel.org>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
fs/f2fs/super.c