Skip to content

Commit

Permalink
mount.ceph: make -v a little more verbose
Browse files Browse the repository at this point in the history
Signed-off-by: Colin McCabe <[email protected]>
  • Loading branch information
cmccabe committed Oct 8, 2010
1 parent 8efef66 commit 3d9a93e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/mount/mount.ceph.c
Original file line number Diff line number Diff line change
Expand Up @@ -266,13 +266,15 @@ static char *parse_options(const char *data, int *filesys_flags)
*end = '\0';
close(fd);

//printf("read secret of len %d from %s\n", len, fn);
if (verboseflag)
printf("read secret of len %d from %s\n", len, fn);
data = "secret";
value = secret;
skip = 0;
} else {
skip = 0;
/* printf("ceph: Unknown mount option %s\n",data); */
if (verboseflag)
printf("ceph: Unknown mount option %s\n",data);
}

/* Copy (possibly modified) option to out */
Expand Down

0 comments on commit 3d9a93e

Please sign in to comment.