From c856a9f3824f4980843c3b49e30bd35846dbd6c6 Mon Sep 17 00:00:00 2001 From: tappro Date: Mon, 8 May 2006 11:39:27 +0000 Subject: [PATCH] make cmm_fld_lookup compatible with 1 MDS only --- lustre/cmm/cmm_object.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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*/ -- 1.8.3.1