Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
LU-2456 lnet: DLC Feature dynamic net config
[fs/lustre-release.git]
/
lustre
/
obdclass
/
darwin
/
darwin-module.c
diff --git
a/lustre/obdclass/darwin/darwin-module.c
b/lustre/obdclass/darwin/darwin-module.c
index
ee9db9a
..
faf2815
100644
(file)
--- a/
lustre/obdclass/darwin/darwin-module.c
+++ b/
lustre/obdclass/darwin/darwin-module.c
@@
-48,7
+48,11
@@
#include <lprocfs_status.h>
#ifndef OBD_MAX_IOCTL_BUFFER
#include <lprocfs_status.h>
#ifndef OBD_MAX_IOCTL_BUFFER
-#define OBD_MAX_IOCTL_BUFFER 8192
+#ifdef CONFIG_LUSTRE_OBD_MAX_IOCTL_BUFFER
+#define OBD_MAX_IOCTL_BUFFER CONFIG_LUSTRE_OBD_MAX_IOCTL_BUFFER
+#else
+#define OBD_MAX_IOCTL_BUFFER 8192
+#endif
#endif
/* buffer MUST be at least the size of obd_ioctl_hdr */
#endif
/* buffer MUST be at least the size of obd_ioctl_hdr */
@@
-189,7
+193,7
@@
static struct cdevsw obd_psdevsw = {
NULL,
};
NULL,
};
-
cfs_psdev_t
obd_psdev = {
+
struct miscdevice
obd_psdev = {
-1,
NULL,
"obd",
-1,
NULL,
"obd",