Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df1d83f
)
Branch b1_4_mountconf
author
nathan
<nathan>
Fri, 11 Nov 2005 23:12:50 +0000
(23:12 +0000)
committer
nathan
<nathan>
Fri, 11 Nov 2005 23:12:50 +0000
(23:12 +0000)
b=8008
module_puts must match module_gets or you can't unload the module.
lustre/mgc/mgc_request.c
patch
|
blob
|
history
diff --git
a/lustre/mgc/mgc_request.c
b/lustre/mgc/mgc_request.c
index
d3ebba9
..
cd0a3fb
100644
(file)
--- 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);