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>
This commit is contained in:
@@ -250,7 +250,7 @@ static int ceph_parse_source(struct fs_parameter *param, struct fs_context *fc)
|
||||
dout("server path '%s'\n", fsopt->server_path);
|
||||
|
||||
ret = ceph_parse_mon_ips(param->string, dev_name_end - dev_name,
|
||||
pctx->copts, fc->log);
|
||||
pctx->copts, fc->log.log);
|
||||
if (ret)
|
||||
return ret;
|
||||
|
||||
@@ -268,7 +268,7 @@ static int ceph_parse_mount_param(struct fs_context *fc,
|
||||
unsigned int mode;
|
||||
int token, ret;
|
||||
|
||||
ret = ceph_parse_param(param, pctx->copts, fc->log);
|
||||
ret = ceph_parse_param(param, pctx->copts, fc->log.log);
|
||||
if (ret != -ENOPARAM)
|
||||
return ret;
|
||||
|
||||
|
Reference in New Issue
Block a user