Skip to content
This repository has been archived by the owner on Dec 28, 2022. It is now read-only.

Commit

Permalink
mount.ceph: use ":/" instead of just ":" as ip/path delimiter
Browse files Browse the repository at this point in the history
This is tolerant of colons in the mount subdir.

Signed-off-by: Sage Weil <[email protected]>
  • Loading branch information
liewegas committed Sep 22, 2011
1 parent ac1a40d commit 97aa1aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mount/mount.ceph.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ static char *mount_resolve_src(const char *orig_str)
char *src;
char *buf = strdup(orig_str);

mount_path = strrchr(buf, ':');
mount_path = strstr(buf, ":/");
if (!mount_path) {
printf("source mount path was not specified\n");
free(buf);
Expand Down

0 comments on commit 97aa1aa

Please sign in to comment.