From: bwzhou Date: Tue, 1 Jul 2008 08:39:33 +0000 (+0000) Subject: Branch b1_8 X-Git-Tag: v1_8_0_110~426 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=cf8c79d32225a87ee95dd4a564454806cedb7f56;p=fs%2Flustre-release.git Branch b1_8 b=11990 r=johann, bobijam zeroed param upon every mount point --- diff --git a/lustre/utils/lfs.c b/lustre/utils/lfs.c index 4e904b1..b8732c7 100644 --- a/lustre/utils/lfs.c +++ b/lustre/utils/lfs.c @@ -736,7 +736,6 @@ static int lfs_osts(int argc, char **argv) { FILE *fp; struct mntent *mnt = NULL; - struct obd_uuid *obduuid = NULL; struct find_param param; int rc=0; @@ -750,10 +749,8 @@ static int lfs_osts(int argc, char **argv) strerror (errno)); } else { mnt = getmntent(fp); - memset(¶m, 0, sizeof(param)); - param.obduuid = obduuid; while (feof(fp) == 0 && ferror(fp) ==0) { - fprintf(stderr, "%s:\n", mnt->mnt_dir); + memset(¶m, 0, sizeof(param)); if (llapi_is_lustre_mnt(mnt)) { rc = llapi_getstripe(mnt->mnt_dir, ¶m); if (rc)