Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

dlm: fix swapped args sb_flags vs sb_status

The arguments got swapped by commit 986ae3c2a8df ("dlm: fix race between
final callback and remove") fixing this now.

Fixes: 986ae3c2a8df ("dlm: fix race between final callback and remove")
Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>

authored by

Alexander Aring and committed by
David Teigland
6d59f2fb 9852d85e

+1 -1
+1 -1
fs/dlm/ast.c
··· 30 30 trace_dlm_bast(ls_id, lkb_id, mode, res_name, res_length); 31 31 bastfn(astparam, mode); 32 32 } else if (flags & DLM_CB_CAST) { 33 - trace_dlm_ast(ls_id, lkb_id, sb_status, sb_flags, res_name, 33 + trace_dlm_ast(ls_id, lkb_id, sb_flags, sb_status, res_name, 34 34 res_length); 35 35 lksb->sb_status = sb_status; 36 36 lksb->sb_flags = sb_flags;