fs: dlm: check on plock ops when exit dlm
authorAlexander Aring <aahringo@redhat.com>
Tue, 1 Aug 2023 18:09:41 +0000 (14:09 -0400)
committerDavid Teigland <teigland@redhat.com>
Thu, 10 Aug 2023 15:33:03 +0000 (10:33 -0500)
commit67b5da9a40fc984d25bda90a918e490e8c2555b7
treea17ff8a2178182be0c04423a81586920965edbf2
parent541adb0d4d10b4daf15f4b6b73c5d6b855d23eb5
fs: dlm: check on plock ops when exit dlm

To be sure we don't have any issues that there are leftover plock ops in
either send_list or recv_list we simple check if either one of the list
are empty when we exit the dlm subsystem.

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