diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2019-12-20 23:52:55 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2019-12-22 10:18:00 -0500 |
commit | 0f1671ab4fe9e3023d364f92b4906b15a955e97c (patch) | |
tree | 35aa8773295f1b40590cec51e8713ea56ab1ae06 /net | |
parent | 1dd0c81bfc130df03e629fb5b8ce73b6fcc29f57 (diff) | |
download | linux-next-0f1671ab4fe9e3023d364f92b4906b15a955e97c.tar.gz |
new primitive: __fs_parse()
fs_parse() analogue taking p_log instead of fs_context.
fs_parse() turned into a wrapper, callers in ceph_common and rbd
switched to __fs_parse().
As the result, fs_parse() never gets NULL fs_context and neither
do fs_context-based logging primitives
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'net')
-rw-r--r-- | net/ceph/ceph_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ceph/ceph_common.c b/net/ceph/ceph_common.c index a3f4f00f2b72..9f8bc962985d 100644 --- a/net/ceph/ceph_common.c +++ b/net/ceph/ceph_common.c @@ -407,7 +407,7 @@ int ceph_parse_param(struct fs_parameter *param, struct ceph_options *opt, int token, err; struct p_log log = {.prefix = "libceph", .log = fc ? fc->log : NULL}; - token = fs_parse(fc, &ceph_parameters, param, &result); + token = __fs_parse(&log, &ceph_parameters, param, &result); dout("%s fs_parse '%s' token %d\n", __func__, param->key, token); if (token < 0) return token; |