From: Dmitry Zogin Date: Sat, 3 Jul 2010 00:21:15 +0000 (-0400) Subject: b=23237 mount.lustre dies with SIGSEGV: Unable to read 1.8 config /tmp/lustre_tmp... X-Git-Tag: 2.0.0.51~44 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=ae101152f5112f2e06c136132f27edb9e97d1c2b b=23237 mount.lustre dies with SIGSEGV: Unable to read 1.8 config /tmp/lustre_tmp.IfgmBK/mountdata Do not try to close non-open file and return the error in get_mountdata() i=andreas.dilger i=johann --- diff --git a/lustre/utils/mount_utils.c b/lustre/utils/mount_utils.c index 2f6f24c..1b06999 100644 --- a/lustre/utils/mount_utils.c +++ b/lustre/utils/mount_utils.c @@ -142,7 +142,8 @@ int get_mountdata(char *dev, struct lustre_disk_data *mo_ldd) } else { verrprint("%s: Unable to read %d.%d config %s.\n", progname, LUSTRE_MAJOR, LUSTRE_MINOR, filepnm); - goto out_close; + ret = 1; + goto out_rmdir; } out_close: