f2fs: introduce fs_context_operation structure
authorHongbo Li <lihongbo22@huawei.com>
Thu, 10 Jul 2025 12:14:14 +0000 (12:14 +0000)
committerJaegeuk Kim <jaegeuk@kernel.org>
Tue, 22 Jul 2025 15:58:14 +0000 (15:58 +0000)
commitbb463a75ab2fc5b7322d342808d1dacf34abe79e
treef9324883b1a4f8739379503635c25cd26ec94e5c
parentd185351325237da688de006a2c579e82ea97bdfe
f2fs: introduce fs_context_operation structure

The handle_mount_opt() helper is used to parse mount parameters,
and so we can rename this function to f2fs_parse_param() and set
it as .param_param in fs_context_operations.

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