Whamcloud - gitweb
- lmv_fld_lookup returns 0 instead of error.
authortappro <tappro>
Mon, 24 Apr 2006 08:52:14 +0000 (08:52 +0000)
committertappro <tappro>
Mon, 24 Apr 2006 08:52:14 +0000 (08:52 +0000)
- LCFG_ADD_MDC is used in lmv_process_config

lustre/lmv/lmv_fld.c
lustre/lmv/lmv_obd.c

index 087b60e..425d0a9 100644 (file)
@@ -48,5 +48,6 @@
 int lmv_fld_lookup(struct obd_device *obd, struct lu_fid *fid)
 {
         ENTRY;
-        RETURN(-ENOTSUPP);
+        /* MDS0 will be used until lookup will works */
+        RETURN(0);
 }
index b8ee5c9..5819a04 100644 (file)
@@ -716,7 +716,7 @@ static int lmv_process_config(struct obd_device *obd, obd_count len, void *buf)
         ENTRY;
 
         switch(lcfg->lcfg_command) {
-        case LCFG_LMV_ADD_OBD:
+        case LCFG_ADD_MDC:
                 if (LUSTRE_CFG_BUFLEN(lcfg, 1) > sizeof(tgt_uuid.uuid))
                         GOTO(out, rc = -EINVAL);