X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Futils%2Fmount_lustre.c;h=464dca9ee7b1a317ccdc2fc0604c7ea766c38035;hp=2f30df96a2b10a7004bbc514ea7da34e483fb77d;hb=b53ec6e67dfeeb1eec1a29a67a0a139df381751c;hpb=63256d846fcf7bf430699d89b76a9d91bc8ed93a diff --git a/lustre/utils/mount_lustre.c b/lustre/utils/mount_lustre.c index 2f30df9..464dca9 100644 --- a/lustre/utils/mount_lustre.c +++ b/lustre/utils/mount_lustre.c @@ -308,7 +308,7 @@ int parse_options(char *orig_options, int *flagp) retry = 0; } else if (val && strncmp(arg, "mgssec", 6) == 0) { append_option(options, opt); - } else if (strncmp(opt, "force", 5) == 0) { + } else if (strcmp(opt, "force") == 0) { //XXX special check for 'force' option ++force; printf("force: %d\n", force);