From: nathan Date: Mon, 19 Sep 2005 22:37:04 +0000 (+0000) Subject: Branch b1_4_newconfig2 X-Git-Tag: v1_8_0_110~486^4~175^2 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=6edfb5d7d4b3ad2fee15aa6259b4433306905fe4;p=fs%2Flustre-release.git Branch b1_4_newconfig2 b=8187 minor cleanup --- diff --git a/lustre/utils/mount_lustre.c b/lustre/utils/mount_lustre.c index 991db98..8e9f9c6 100644 --- a/lustre/utils/mount_lustre.c +++ b/lustre/utils/mount_lustre.c @@ -276,7 +276,8 @@ int parse_options(char *options, struct lustre_mount_data *lmd, int *flagp) val = atoi(opteq + 1); *opteq = '\0'; if (0) { - /* All the network options have gone :)) */ + /* NO special lustre options, just standard + mount options */ } else { fprintf(stderr, "%s: unknown option '%s'\n", progname, opt); @@ -304,6 +305,8 @@ build_data(char *source, char *target, char *options, char *s; int rc; + init_options(lmd); + if (lmd_bad_magic(lmd)) return 4; @@ -449,7 +452,6 @@ int main(int argc, char *const argv[]) if (!force && check_mtab_entry(source, target, "lustre")) exit(32); - init_options(&lmd); rc = build_data(source, target, options, &lmd, &flags); if (rc) { exit(1);