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:
499b193
)
- other half of the buffer fix.
author
braam
<braam>
Mon, 1 Jul 2002 23:24:26 +0000
(23:24 +0000)
committer
braam
<braam>
Mon, 1 Jul 2002 23:24:26 +0000
(23:24 +0000)
lustre/include/linux/lustre_idl.h
patch
|
blob
|
history
diff --git
a/lustre/include/linux/lustre_idl.h
b/lustre/include/linux/lustre_idl.h
index
94c8f4f
..
c86be5d
100644
(file)
--- a/
lustre/include/linux/lustre_idl.h
+++ b/
lustre/include/linux/lustre_idl.h
@@
-595,8
+595,8
@@
static inline int obd_ioctl_getdata(char **buf, int *len, void *arg)
return -EINVAL;
}
- if (hdr.ioc_len >
*len
) {
- printk("OBD: user buffer exceeds
kernel
buffer\n");
+ if (hdr.ioc_len >
8192
) {
+ printk("OBD: user buffer exceeds
8192 max
buffer\n");
return -EINVAL;
}