Skip to content
/ linux Public
forked from torvalds/linux

Commit

Permalink
dlm: fix swapped args sb_flags vs sb_status
Browse files Browse the repository at this point in the history
[ Upstream commit 6d59f2f ]

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 <[email protected]>
Signed-off-by: David Teigland <[email protected]>
Signed-off-by: Sasha Levin <[email protected]>
  • Loading branch information
Alexander Aring authored and gregkh committed Dec 3, 2024
1 parent 2004cc5 commit 45f7563
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/dlm/ast.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
bastfn(astparam, mode);
} 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);
lksb->sb_status = sb_status;
lksb->sb_flags = sb_flags;
Expand Down

0 comments on commit 45f7563

Please sign in to comment.