From: Dmitry Zogin Date: Fri, 2 Jul 2010 22:11:37 +0000 (-0400) Subject: b=23237 mount.lustre dies with SIGSEGV: Unable to read 1.8 config /tmp/lustre_tmp... X-Git-Tag: v1_8_3_58~8 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=c541e856e07990c4aa21a5b7f014df636cac938c;p=fs%2Flustre-release.git 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 530c9bf..3da4771 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: