dlm: remove unnecessary refcounts
authorAlexander Aring <aahringo@redhat.com>
Fri, 2 Aug 2024 17:26:39 +0000 (13:26 -0400)
committerDavid Teigland <teigland@redhat.com>
Thu, 8 Aug 2024 20:14:42 +0000 (15:14 -0500)
commitd3b3d2d8e1aa394fc5fde4c0d3e32f8697c2b42c
tree6429b8256c92687bee3e57f64168251d6ab27f89
parent116978854427fd7abbeb328768e75b49a7298520
dlm: remove unnecessary refcounts

This patch removes unnecessary refcounts that are obviously not
necessary because either when the pointer is passed as parameter or it
is part of a list we should already hold a reference to it.

Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
fs/dlm/lock.c