fs: dlm: remove additional dereference of lksb
authorAlexander Aring <aahringo@redhat.com>
Wed, 22 Jun 2022 18:45:11 +0000 (14:45 -0400)
committerDavid Teigland <teigland@redhat.com>
Fri, 24 Jun 2022 16:53:08 +0000 (11:53 -0500)
commit0c4c516fa206d6e8a3986eebd3016a96022792c6
treeacdc8ec0e0d1ffd89026476f60d19dd52c1d176e
parentcd1e8ca9f3a4c7e3e1f22341a71e013797b3a0f0
fs: dlm: remove additional dereference of lksb

This patch removes a dereference of lksb of lkb when calling ast
tracepoint. First it reduces additional overhead, even if traces
are not active. Second we can deference it in TP_fast_assign from
the existing lkb parameter.

Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
fs/dlm/ast.c
include/trace/events/dlm.h