From: huanghua Date: Fri, 13 Oct 2006 09:41:52 +0000 (+0000) Subject: fix typo in RETURN X-Git-Tag: v1_8_0_110~486^2~561 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=b733a69408c3e708d2772b2962e864c532538ddc;p=fs%2Flustre-release.git fix typo in RETURN --- diff --git a/lustre/lmv/lmv_obd.c b/lustre/lmv/lmv_obd.c index abe0a6a..1f57187 100644 --- a/lustre/lmv/lmv_obd.c +++ b/lustre/lmv/lmv_obd.c @@ -1478,11 +1478,11 @@ lmv_enqueue_remote(struct obd_export *exp, int lock_type, tgt_exp = lmv_get_export(lmv, &body->fid1); if (IS_ERR(tgt_exp)) - GOTO(out, PTR_ERR(tgt_exp)); + GOTO(out, rc = PTR_ERR(tgt_exp)); OBD_ALLOC_PTR(rdata); if (rdata == NULL) - GOTO(out, -ENOMEM); + GOTO(out, rc = -ENOMEM); rdata->fid1 = body->fid1; rdata->name = NULL;