From b733a69408c3e708d2772b2962e864c532538ddc Mon Sep 17 00:00:00 2001 From: huanghua Date: Fri, 13 Oct 2006 09:41:52 +0000 Subject: [PATCH] fix typo in RETURN --- lustre/lmv/lmv_obd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 1.8.3.1