From: David Teigland Date: Thu, 13 Nov 2008 19:22:34 +0000 (-0600) Subject: dlm: fix shutdown cleanup X-Git-Tag: v2.6.28-rc5~19^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=278afcbf4fe964230eba67f8fb8235e8b7e63ffb;p=pandora-kernel.git dlm: fix shutdown cleanup Fixes a regression from commit 0f8e0d9a317406612700426fad3efab0b7bbc467, "dlm: allow multiple lockspace creates". An extraneous 'else' slipped into a code fragment being moved from release_lockspace() to dlm_release_lockspace(). The result of the unwanted 'else' is that dlm threads and structures are not stopped and cleaned up when the final dlm lockspace is removed. Trying to create a new lockspace again afterward will fail with "kmem_cache_create: duplicate cache dlm_conn" because the cache was not previously destroyed. Signed-off-by: David Teigland --- Reading git-diff-tree failed