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:
57e158e
)
Fix for my careless fault. :-(
author
liangzhen
<liangzhen>
Wed, 15 Feb 2006 10:30:26 +0000
(10:30 +0000)
committer
liangzhen
<liangzhen>
Wed, 15 Feb 2006 10:30:26 +0000
(10:30 +0000)
lustre/obdclass/class_obd.c
patch
|
blob
|
history
diff --git
a/lustre/obdclass/class_obd.c
b/lustre/obdclass/class_obd.c
index
f4b23d8
..
78b8181
100644
(file)
--- a/
lustre/obdclass/class_obd.c
+++ b/
lustre/obdclass/class_obd.c
@@
-177,13
+177,13
@@
int class_handle_ioctl(unsigned int cmd, unsigned long arg)
OBD_ALLOC(lcfg, data->ioc_plen1);
err = copy_from_user(lcfg, data->ioc_pbuf1, data->ioc_plen1);
if (err) {
- GOTO(out, err);
OBD_FREE(lcfg, data->ioc_plen1);
+ GOTO(out, err);
}
err = lustre_cfg_sanity_check(lcfg, data->ioc_plen1);
if (err) {
- GOTO(out, err);
OBD_FREE(lcfg, data->ioc_plen1);
+ GOTO(out, err);
}
err = class_process_config(lcfg);