dlm: fix use count with multiple joins
authorDavid Teigland <teigland@redhat.com>
Wed, 8 Apr 2009 20:38:43 +0000 (15:38 -0500)
committerDavid Teigland <teigland@redhat.com>
Thu, 7 May 2009 15:14:42 +0000 (10:14 -0500)
commit8511a2728ab82cab398e39d019f5cf1246021c1c
treec1a99f292e9e56fe05d174be771f00a78c66a9b7
parent08ce4c91e44d51bb6c946f2756825a462d53c545
dlm: fix use count with multiple joins

When a lockspace was joined multiple times, the global dlm
use count was incremented when it should not have been.  This
caused the global dlm threads to not be stopped when all
lockspaces were eventually be removed.

Signed-off-by: David Teigland <teigland@redhat.com>
fs/dlm/lockspace.c