summaryrefslogtreecommitdiff
path: root/fs/ceph
diff options
context:
space:
mode:
authorVenky Shankar <vshankar@redhat.com>2021-07-14 15:35:50 +0530
committerIlya Dryomov <idryomov@gmail.com>2022-01-13 13:40:05 +0100
commit2d7c86a8f9cdce1408c4f3c69d94d007eff2f179 (patch)
tree1c2785fe6a1ddee2dffc46d2b3b067567b1dbf9c /fs/ceph
parentdf0cc57e057f18e44dac8e6c18aba47ab53202f9 (diff)
libceph: generalize addr/ip parsing based on delimiter
... and remove hardcoded function name in ceph_parse_ips(). [ idryomov: delim parameter, drop CEPH_ADDR_PARSE_DEFAULT_DELIM ] Signed-off-by: Venky Shankar <vshankar@redhat.com> Reviewed-by: Jeff Layton <jlayton@kernel.org> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'fs/ceph')
-rw-r--r--fs/ceph/super.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ceph/super.c b/fs/ceph/super.c
index bab61232dc5a..c444371ebc38 100644
--- a/fs/ceph/super.c
+++ b/fs/ceph/super.c
@@ -272,7 +272,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.log);
+ pctx->copts, fc->log.log, ',');
if (ret)
return ret;