dlm: use rwlock for lkbidr
authorAlexander Aring <aahringo@redhat.com>
Mon, 15 Apr 2024 18:39:43 +0000 (14:39 -0400)
committerDavid Teigland <teigland@redhat.com>
Tue, 16 Apr 2024 19:45:57 +0000 (14:45 -0500)
commit15fd7e55177a8d6243096bb6b9536cd15f56d547
treeffb40d5c8a085d8b20d58154a0c00a2dcc5c9871
parente91313591b29ce724fe2f1bdf29f2482878fc275
dlm: use rwlock for lkbidr

Convert the lock for lkbidr to an rwlock.  Most idr lookups will use
the read lock.

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