dlm: close othercons
authorPatrick Caulfeld <pcaulfie@redhat.com>
Wed, 9 Jan 2008 15:06:27 +0000 (15:06 +0000)
committerDavid Teigland <teigland@redhat.com>
Tue, 29 Jan 2008 23:17:32 +0000 (17:17 -0600)
commit39bd4177ddbeb4c86e854d3d5c4a6a26088e601e
tree80bebc23aac81cc56dbd33d81dcb9ffbbf2582dc
parent52bda2b5bab87c388848bbc0f4d28d04858d5a7d
dlm: close othercons

This patch addresses a problem introduced with the last round of
lowcomms patches where the 'othercon' connections do not get freed when
the DLM shuts down.

This results in the error message
"slab error in kmem_cache_destroy(): cache `dlm_conn': Can't free all
objects"

and the DLM cannot be restarted without a system reboot.

See bz#428119

Signed-off-by: Patrick Caulfield <pcaulfie@redhat.com>
Signed-off-by: Fabio M. Di Nitto <fabbione@ubuntu.com>
Signed-off-by: David Teigland <teigland@redhat.com>
fs/dlm/lowcomms.c