Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a22ca480 authored by David Teigland's avatar David Teigland
Browse files

dlm: fix kmalloc args



The gfp and size args were switched.

Signed-off-by: default avatarDavid Teigland <teigland@redhat.com>
parent 5d70828a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;