Skip to content

Commit 6d59f2f

Browse files
Alexander Aringteigland
authored andcommitted
dlm: fix swapped args sb_flags vs sb_status
The arguments got swapped by commit 986ae3c ("dlm: fix race between final callback and remove") fixing this now. Fixes: 986ae3c ("dlm: fix race between final callback and remove") Signed-off-by: Alexander Aring <aahringo@redhat.com> Signed-off-by: David Teigland <teigland@redhat.com>
1 parent 9852d85 commit 6d59f2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/dlm/ast.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ static void dlm_run_callback(uint32_t ls_id, uint32_t lkb_id, int8_t mode,
3030
trace_dlm_bast(ls_id, lkb_id, mode, res_name, res_length);
3131
bastfn(astparam, mode);
3232
} 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,
3434
res_length);
3535
lksb->sb_status = sb_status;
3636
lksb->sb_flags = sb_flags;

0 commit comments

Comments
 (0)