From 6edfb5d7d4b3ad2fee15aa6259b4433306905fe4 Mon Sep 17 00:00:00 2001 From: nathan Date: Mon, 19 Sep 2005 22:37:04 +0000 Subject: [PATCH] Branch b1_4_newconfig2 b=8187 minor cleanup --- lustre/utils/mount_lustre.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) 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); -- 1.8.3.1