mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-12-29 17:25:38 +00:00
dlm: fix swapped args sb_flags vs sb_status
The arguments got swapped by commit986ae3c2a8
("dlm: fix race between final callback and remove") fixing this now. Fixes:986ae3c2a8
("dlm: fix race between final callback and remove") Signed-off-by: Alexander Aring <aahringo@redhat.com> Signed-off-by: David Teigland <teigland@redhat.com>
This commit is contained in:
parent
9852d85ec9
commit
6d59f2fbfb
@ -30,7 +30,7 @@ static void dlm_run_callback(uint32_t ls_id, uint32_t lkb_id, int8_t mode,
|
|||||||
trace_dlm_bast(ls_id, lkb_id, mode, res_name, res_length);
|
trace_dlm_bast(ls_id, lkb_id, mode, res_name, res_length);
|
||||||
bastfn(astparam, mode);
|
bastfn(astparam, mode);
|
||||||
} else if (flags & DLM_CB_CAST) {
|
} else if (flags & DLM_CB_CAST) {
|
||||||
trace_dlm_ast(ls_id, lkb_id, sb_status, sb_flags, res_name,
|
trace_dlm_ast(ls_id, lkb_id, sb_flags, sb_status, res_name,
|
||||||
res_length);
|
res_length);
|
||||||
lksb->sb_status = sb_status;
|
lksb->sb_status = sb_status;
|
||||||
lksb->sb_flags = sb_flags;
|
lksb->sb_flags = sb_flags;
|
||||||
|
Loading…
Reference in New Issue
Block a user