Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7b481d
)
Branch b1_8
author
bwzhou
<bwzhou>
Tue, 1 Jul 2008 08:39:33 +0000
(08:39 +0000)
committer
bwzhou
<bwzhou>
Tue, 1 Jul 2008 08:39:33 +0000
(08:39 +0000)
b=11990
r=johann, bobijam
zeroed param upon every mount point
lustre/utils/lfs.c
patch
|
blob
|
history
diff --git
a/lustre/utils/lfs.c
b/lustre/utils/lfs.c
index
4e904b1
..
b8732c7
100644
(file)
--- 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)