summaryrefslogtreecommitdiff
path: root/fs/dlm/ast.c
diff options
context:
space:
mode:
authorAlexander Aring <aahringo@redhat.com>2022-06-22 21:45:10 +0300
committerDavid Teigland <teigland@redhat.com>2022-06-24 19:53:06 +0300
commitcd1e8ca9f3a4c7e3e1f22341a71e013797b3a0f0 (patch)
tree7813ca85ae736e9658289f9dbd3ecb3dba4cfd84 /fs/dlm/ast.c
parentb92a4e3f86b1a1d0b001ec832ddc96195e3edf31 (diff)
downloadlinux-cd1e8ca9f3a4c7e3e1f22341a71e013797b3a0f0.tar.xz
fs: dlm: change ast and bast trace order
This patch moves the trace calls for ast and bast to before the ast and bast callback functions are called rather than after. Signed-off-by: Alexander Aring <aahringo@redhat.com> Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'fs/dlm/ast.c')
-rw-r--r--fs/dlm/ast.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/dlm/ast.c b/fs/dlm/ast.c
index bfac462dd3e8..df25c3e785cf 100644
--- a/fs/dlm/ast.c
+++ b/fs/dlm/ast.c
@@ -255,13 +255,13 @@ void dlm_callback_work(struct work_struct *work)
if (callbacks[i].flags & DLM_CB_SKIP) {
continue;
} else if (callbacks[i].flags & DLM_CB_BAST) {
- bastfn(lkb->lkb_astparam, callbacks[i].mode);
trace_dlm_bast(ls, lkb, callbacks[i].mode);
+ bastfn(lkb->lkb_astparam, callbacks[i].mode);
} else if (callbacks[i].flags & DLM_CB_CAST) {
lkb->lkb_lksb->sb_status = callbacks[i].sb_status;
lkb->lkb_lksb->sb_flags = callbacks[i].sb_flags;
- castfn(lkb->lkb_astparam);
trace_dlm_ast(ls, lkb, lkb->lkb_lksb);
+ castfn(lkb->lkb_astparam);
}
}