fs: dlm: call dlm_lsop_recover_prep once
authorAlexander Aring <aahringo@redhat.com>
Wed, 22 Jun 2022 18:45:14 +0000 (14:45 -0400)
committerDavid Teigland <teigland@redhat.com>
Fri, 24 Jun 2022 16:57:46 +0000 (11:57 -0500)
commit7e09b15cfe7b6a6135448015482112869722a763
tree07b63bc1d70b7b553efff90b526cc67870cd0688
parentca8031d917691e5c4f101c9ec39fc41b105b7e14
fs: dlm: call dlm_lsop_recover_prep once

A lockspace can be "stopped" multiple times consecutively before
being "started" (when recoveries overlap.)  In this case, the
lsop_recover_prep callback only needs to be called once when the
lockspace is first stopped, and not repeatedly for each stop.

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