diff --git a/lustre/utils/lfs.c b/lustre/utils/lfs.c
index 845da41262da09ca5753e0e357466884aef3abc9..6d51e85d49ab6f0478f74407cd6dc8d4fba3d372 100644
--- a/lustre/utils/lfs.c
+++ b/lustre/utils/lfs.c
@@ -747,7 +747,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;
 
@@ -761,9 +760,8 @@ static int lfs_osts(int argc, char **argv)
                         strerror (errno));
         } else {
                 mnt = getmntent(fp);
-                memset(&param, 0, sizeof(param));
-                param.obduuid = obduuid;
                 while (feof(fp) == 0 && ferror(fp) ==0) {
+                        memset(&param, 0, sizeof(param));
                         if (llapi_is_lustre_mnt(mnt)) {
                                 rc = llapi_getstripe(mnt->mnt_dir, &param);
                                 if (rc)