Whamcloud - gitweb
- lmv_packmd() and lmv_unpackmd() need not be real connected
authoralex <alex>
Wed, 19 May 2004 20:48:31 +0000 (20:48 +0000)
committeralex <alex>
Wed, 19 May 2004 20:48:31 +0000 (20:48 +0000)
lustre/lmv/lmv_obd.c

index 4932ea8..ce78065 100644 (file)
@@ -1112,7 +1112,6 @@ int lmv_packmd(struct obd_export *exp, struct lov_mds_md **lmmp,
         struct lmv_obd *lmv = &obd->u.lmv;
         int mea_size;
         ENTRY;
-        lmv_connect(obd);
 
        mea_size = sizeof(struct ll_fid) * lmv->count + sizeof(struct mea);
         if (!lmmp)
@@ -1147,7 +1146,6 @@ int lmv_unpackmd(struct obd_export *exp, struct lov_stripe_md **mem_tgt,
         struct mea *mea = (void *) disk_src;
         int mea_size;
         ENTRY;
-        lmv_connect(obd);
 
        mea_size = sizeof(struct ll_fid) * lmv->count + sizeof(struct mea);
         if (mem_tgt == NULL)