Skip to content

Commit

Permalink
Merge pull request #12465 from jcsp/wip-18159
Browse files Browse the repository at this point in the history
mount: do not print "unknown" option to kclient

Reviewed-by: Jeff Layton <jlayton@redhat.com>
  • Loading branch information
John Spray committed Jan 12, 2017
2 parents 3db51ae + 042b1d7 commit 6048704
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 @@ -201,8 +201,10 @@ static char *parse_options(const char *data, int *filesys_flags)
skip = 0;
} else {
skip = 0;
if (verboseflag)
printf("ceph: Unknown mount option %s\n",data);
if (verboseflag) {
fprintf(stderr, "mount.ceph: unrecognized mount option \"%s\", "
"passing to kernel.\n", data);
}
}

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

0 comments on commit 6048704

Please sign in to comment.