From 24c9dc1f62be5f0015b7fc829d0072a03cd0411a Mon Sep 17 00:00:00 2001 From: nathan Date: Fri, 11 Nov 2005 23:12:50 +0000 Subject: [PATCH] Branch b1_4_mountconf b=8008 module_puts must match module_gets or you can't unload the module. --- lustre/mgc/mgc_request.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lustre/mgc/mgc_request.c b/lustre/mgc/mgc_request.c index d3ebba9..cd0a3fb 100644 --- a/lustre/mgc/mgc_request.c +++ b/lustre/mgc/mgc_request.c @@ -317,7 +317,7 @@ static int mgc_iocontrol(unsigned int cmd, struct obd_export *exp, int len, if (rc) RETURN(rc); - RETURN(rc); + GOTO(out, rc); } case OBD_IOC_START: { char *name = data->ioc_inlbuf1; @@ -331,7 +331,7 @@ static int mgc_iocontrol(unsigned int cmd, struct obd_export *exp, int len, CERROR("Unable to process log: %s\n", name); pop_ctxt(&saved, &obd->obd_lvfs_ctxt, NULL); - RETURN(rc); + GOTO(out, rc); } default: CERROR("mgc_ioctl(): unrecognised ioctl %#x\n", cmd); -- 1.8.3.1