projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ACPI: netlink: remove unnecessary EXPORT_SYMBOL
[powerpc.git]
/
fs
/
dlm
/
midcomms.c
diff --git
a/fs/dlm/midcomms.c
b/fs/dlm/midcomms.c
index
c9b1c3d
..
a5126e0
100644
(file)
--- a/
fs/dlm/midcomms.c
+++ b/
fs/dlm/midcomms.c
@@
-82,7
+82,7
@@
int dlm_process_incoming_buffer(int nodeid, const void *base,
if (msglen < sizeof(struct dlm_header))
break;
err = -E2BIG;
if (msglen < sizeof(struct dlm_header))
break;
err = -E2BIG;
- if (msglen > dlm_config.buffer_size) {
+ if (msglen > dlm_config.
ci_
buffer_size) {
log_print("message size %d from %d too big, buf len %d",
msglen, nodeid, len);
break;
log_print("message size %d from %d too big, buf len %d",
msglen, nodeid, len);
break;
@@
-103,7
+103,7
@@
int dlm_process_incoming_buffer(int nodeid, const void *base,
if (msglen > sizeof(__tmp) &&
msg == (struct dlm_header *) __tmp) {
if (msglen > sizeof(__tmp) &&
msg == (struct dlm_header *) __tmp) {
- msg = kmalloc(dlm_config.buffer_size, GFP_KERNEL);
+ msg = kmalloc(dlm_config.
ci_
buffer_size, GFP_KERNEL);
if (msg == NULL)
return ret;
}
if (msg == NULL)
return ret;
}