From: tappro Date: Mon, 24 Apr 2006 08:52:14 +0000 (+0000) Subject: - lmv_fld_lookup returns 0 instead of error. X-Git-Tag: v1_8_0_110~486^2~1940 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=0899e0d56cdc169da92ad5d05feb1b8fda1446f0;p=fs%2Flustre-release.git - lmv_fld_lookup returns 0 instead of error. - LCFG_ADD_MDC is used in lmv_process_config --- diff --git a/lustre/lmv/lmv_fld.c b/lustre/lmv/lmv_fld.c index 087b60e..425d0a9 100644 --- a/lustre/lmv/lmv_fld.c +++ b/lustre/lmv/lmv_fld.c @@ -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); } diff --git a/lustre/lmv/lmv_obd.c b/lustre/lmv/lmv_obd.c index b8ee5c9..5819a04 100644 --- a/lustre/lmv/lmv_obd.c +++ b/lustre/lmv/lmv_obd.c @@ -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);