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:
9664090
)
Branch b1_4
author
nathan
<nathan>
Tue, 3 May 2005 22:13:12 +0000
(22:13 +0000)
committer
nathan
<nathan>
Tue, 3 May 2005 22:13:12 +0000
(22:13 +0000)
b=6223
Fix this related one too.
lustre/osc/osc_request.c
patch
|
blob
|
history
diff --git
a/lustre/osc/osc_request.c
b/lustre/osc/osc_request.c
index
fd55e4f
..
cf888d6
100644
(file)
--- a/
lustre/osc/osc_request.c
+++ b/
lustre/osc/osc_request.c
@@
-2905,12
+2905,12
@@
static int osc_iocontrol(unsigned int cmd, struct obd_export *exp, int len,
data = (struct obd_ioctl_data *)buf;
if (sizeof(*desc) > data->ioc_inllen1) {
-
OBD_FREE
(buf, len);
+
obd_ioctl_freedata
(buf, len);
GOTO(out, err = -EINVAL);
}
if (data->ioc_inllen2 < sizeof(uuid)) {
-
OBD_FREE
(buf, len);
+
obd_ioctl_freedata
(buf, len);
GOTO(out, err = -EINVAL);
}