summaryrefslogtreecommitdiffstats
path: root/fs/fs_parser.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2019-12-21 06:16:49 +0100
committerAl Viro <viro@zeniv.linux.org.uk>2020-02-07 20:48:35 +0100
commitcc3c0b533ab9142eac2e291628fbfca3685f38cd (patch)
tree1e030853f8a0bed9225eb392a4faad4f24477fb5 /fs/fs_parser.c
parentceph_parse_param(), ceph_parse_mon_ips(): switch to passing fc_log (diff)
downloadlinux-cc3c0b533ab9142eac2e291628fbfca3685f38cd.tar.xz
linux-cc3c0b533ab9142eac2e291628fbfca3685f38cd.zip
add prefix to fs_context->log
... turning it into struct p_log embedded into fs_context. Initialize the prefix with fs_type->name, turning fs_parse() into a trivial inline wrapper for __fs_parse(). This makes fs_parameter_description->name completely unused. Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/fs_parser.c')
-rw-r--r--fs/fs_parser.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/fs/fs_parser.c b/fs/fs_parser.c
index dadb6582874d..4c410eef0173 100644
--- a/fs/fs_parser.c
+++ b/fs/fs_parser.c
@@ -243,16 +243,6 @@ unknown_parameter:
}
EXPORT_SYMBOL(__fs_parse);
-int fs_parse(struct fs_context *fc,
- const struct fs_parameter_description *desc,
- struct fs_parameter *param,
- struct fs_parse_result *result)
-{
- struct p_log log = {.prefix = desc->name, .log = fc->log};
- return __fs_parse(&log, desc, param, result);
-}
-EXPORT_SYMBOL(fs_parse);
-
/**
* fs_lookup_param - Look up a path referred to by a parameter
* @fc: The filesystem context to log errors through.