mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-06 05:06:29 +00:00
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: dbb751ffab
("fs: dlm: parallelize lowcomms socket handling")
Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
This commit is contained in:
parent
7a931477bf
commit
f68bb23cad
@ -898,6 +898,7 @@ static void process_dlm_messages(struct work_struct *work)
|
||||
pentry = list_first_entry_or_null(&processqueue,
|
||||
struct processqueue_entry, list);
|
||||
if (WARN_ON_ONCE(!pentry)) {
|
||||
process_dlm_messages_pending = false;
|
||||
spin_unlock(&processqueue_lock);
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user