Skip to content

Commit f68bb23

Browse files
Alexander Aringteigland
authored andcommitted
fs: dlm: fix missing pending to false
This patch sets the process_dlm_messages_pending boolean to false when there was no message to process. It is a case which should not happen but if we are prepared to recover from this situation by setting pending boolean to false. Cc: stable@vger.kernel.org Fixes: dbb751f ("fs: dlm: parallelize lowcomms socket handling") Signed-off-by: Alexander Aring <aahringo@redhat.com> Signed-off-by: David Teigland <teigland@redhat.com>
1 parent 7a93147 commit f68bb23

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

fs/dlm/lowcomms.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -898,6 +898,7 @@ static void process_dlm_messages(struct work_struct *work)
898898
pentry = list_first_entry_or_null(&processqueue,
899899
struct processqueue_entry, list);
900900
if (WARN_ON_ONCE(!pentry)) {
901+
process_dlm_messages_pending = false;
901902
spin_unlock(&processqueue_lock);
902903
return;
903904
}

0 commit comments

Comments
 (0)