From: tappro Date: Mon, 8 May 2006 11:39:27 +0000 (+0000) Subject: make cmm_fld_lookup compatible with 1 MDS only X-Git-Tag: v1_8_0_110~486^2~1856 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=c856a9f3824f4980843c3b49e30bd35846dbd6c6;p=fs%2Flustre-release.git make cmm_fld_lookup compatible with 1 MDS only --- diff --git a/lustre/cmm/cmm_object.c b/lustre/cmm/cmm_object.c index 16c53db..0c85892 100644 --- a/lustre/cmm/cmm_object.c +++ b/lustre/cmm/cmm_object.c @@ -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*/