dlm: prevent connections during shutdown
authorDavid Teigland <teigland@redhat.com>
Fri, 30 Mar 2012 16:46:08 +0000 (11:46 -0500)
committerDavid Teigland <teigland@redhat.com>
Thu, 26 Apr 2012 20:35:38 +0000 (15:35 -0500)
During lowcomms shutdown, a new connection could possibly
be created, and attempt to use a workqueue that's been
destroyed.  Similarly, during startup, a new connection
could attempt to use a workqueue that's not been set up
yet.  Add a global variable to indicate when new connections
are allowed.

Based on patch by: Christine Caulfield <ccaulfie@redhat.com>

Reported-by: dann frazier <dann.frazier@canonical.com>
Reviewed-by: dann frazier <dann.frazier@canonical.com>
Signed-off-by: David Teigland <teigland@redhat.com>

No differences found