projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
staging: lustre: libcfs: replace LNET_MAX_IOCTL_BUF_LEN with something bigger
[cascardo/linux.git]
/
drivers
/
staging
/
lustre
/
include
/
linux
/
libcfs
/
libcfs_ioctl.h
diff --git
a/drivers/staging/lustre/include/linux/libcfs/libcfs_ioctl.h
b/drivers/staging/lustre/include/linux/libcfs/libcfs_ioctl.h
index
5ca99bd
..
c71d125
100644
(file)
--- a/
drivers/staging/lustre/include/linux/libcfs/libcfs_ioctl.h
+++ b/
drivers/staging/lustre/include/linux/libcfs/libcfs_ioctl.h
@@
-49,6
+49,9
@@
struct libcfs_ioctl_hdr {
__u32 ioc_version;
};
+/** max size to copy from userspace */
+#define LIBCFS_IOC_DATA_MAX (128 * 1024)
+
struct libcfs_ioctl_data {
struct libcfs_ioctl_hdr ioc_hdr;