dlm: remove callback reference counting
authorAlexander Aring <aahringo@redhat.com>
Thu, 28 Mar 2024 15:48:42 +0000 (11:48 -0400)
committerDavid Teigland <teigland@redhat.com>
Mon, 1 Apr 2024 18:31:13 +0000 (13:31 -0500)
commit2bec1bbd55cf96b313566d2e1b9ff54451685e18
tree8c8bdabb494e40c06d9f1565f8633e527eb4d3e1
parent986ae3c2a8dfc1e229cabe9cc2e0b01b721c8980
dlm: remove callback reference counting

Get rid of the unnecessary refcounting on callback structs.
Copy interesting callback info into the lkb struct rather
than maintaining pointers to callback structs from the lkb.
This goes back to the way things were done prior to
commit 61bed0baa4db ("fs: dlm: use a non-static queue for callbacks").

Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
fs/dlm/ast.c
fs/dlm/ast.h
fs/dlm/debug_fs.c
fs/dlm/dlm_internal.h
fs/dlm/lock.c
fs/dlm/memory.c
fs/dlm/user.c