Whamcloud - gitweb
make cmm_fld_lookup compatible with 1 MDS only
authortappro <tappro>
Mon, 8 May 2006 11:39:27 +0000 (11:39 +0000)
committertappro <tappro>
Mon, 8 May 2006 11:39:27 +0000 (11:39 +0000)
lustre/cmm/cmm_object.c

index 16c53db..0c85892 100644 (file)
@@ -44,7 +44,7 @@ static int cmm_fld_lookup(struct lu_fid *fid)
         int rc;
         /* temporary hack for proto mkdir */
         rc = fid_seq(fid) == LUSTRE_ROOT_FID_SEQ ? 0 : 1;
-        RETURN(rc);
+        RETURN(0);
 }
 
 /* get child device by mdsnum*/