projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d70828
)
dlm: fix kmalloc args
author
David Teigland
<teigland@redhat.com>
Mon, 11 Jul 2011 13:40:53 +0000
(08:40 -0500)
committer
David Teigland
<teigland@redhat.com>
Mon, 11 Jul 2011 13:40:53 +0000
(08:40 -0500)
The gfp and size args were switched.
Signed-off-by: David Teigland <teigland@redhat.com>
fs/dlm/lock.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/dlm/lock.c
b/fs/dlm/lock.c
index 84c52e6b8810fd857d86232cd6a1d0e89f01a1be..3c723489079afbf4d6efdc536b23b111de7eb83a 100644
(file)
--- a/
fs/dlm/lock.c
+++ b/
fs/dlm/lock.c
@@
-4129,7
+4129,7
@@
void dlm_recover_waiters_pre(struct dlm_ls *ls)
struct dlm_message *ms_stub;
int wait_type, stub_unlock_result, stub_cancel_result;
- ms_stub = kmalloc(
GFP_KERNEL, sizeof(struct dlm_message)
);
+ ms_stub = kmalloc(
sizeof(struct dlm_message), GFP_KERNEL
);
if (!ms_stub) {
log_error(ls, "dlm_recover_waiters_pre no mem");
return;