Skip to content
Snippets Groups Projects
Commit b355516f authored by David Windsor's avatar David Windsor Committed by David Teigland
Browse files

dlm: check if workqueues are NULL before flushing/destroying


If the DLM lowcomms stack is shut down before any DLM
traffic can be generated, flush_workqueue() and
destroy_workqueue() can be called on empty send and/or recv
workqueues.

Insert guard conditionals to only call flush_workqueue()
and destroy_workqueue() on workqueues that are not NULL.

Signed-off-by: default avatarDavid Windsor <dwindsor@redhat.com>
Signed-off-by: default avatarDavid Teigland <teigland@redhat.com>
parent d1fdb6d8
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment