diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2019-12-21 00:16:49 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2020-02-07 14:48:35 -0500 |
commit | cc3c0b533ab9142eac2e291628fbfca3685f38cd (patch) | |
tree | 1e030853f8a0bed9225eb392a4faad4f24477fb5 /fs/fs_parser.c | |
parent | c80c98f0dc5dc709b04254b5f30145c6ab8800a4 (diff) | |
download | linux-cc3c0b533ab9142eac2e291628fbfca3685f38cd.tar.gz linux-cc3c0b533ab9142eac2e291628fbfca3685f38cd.tar.bz2 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.c | 10 |
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. |