summaryrefslogtreecommitdiffstats
path: root/fs/dlm/dlm_internal.h
diff options
context:
space:
mode:
authorDavid Windsor2019-04-02 14:37:10 +0200
committerDavid Teigland2019-07-11 18:01:58 +0200
commitb355516f450703c9015316e429b66a93dfff0e6f (patch)
tree02f2ccd174fb792329cbfc03955f8b9fff4fcd78 /fs/dlm/dlm_internal.h
parentLinux 5.2-rc4 (diff)
downloadkernel-qcow2-linux-b355516f450703c9015316e429b66a93dfff0e6f.tar.gz
kernel-qcow2-linux-b355516f450703c9015316e429b66a93dfff0e6f.tar.xz
kernel-qcow2-linux-b355516f450703c9015316e429b66a93dfff0e6f.zip
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: David Windsor <dwindsor@redhat.com> Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'fs/dlm/dlm_internal.h')
0 files changed, 0 insertions, 0 deletions