Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/teigland/dlm

* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/teigland/dlm:
  dlm: fix shutdown cleanup
This commit is contained in:
Linus Torvalds 2008-11-13 11:56:05 -08:00
commit 7b42365396

View File

@ -812,7 +812,7 @@ int dlm_release_lockspace(void *lockspace, int force)
error = release_lockspace(ls, force);
if (!error)
ls_count--;
else if (!ls_count)
if (!ls_count)
threads_stop();
mutex_unlock(&ls_lock);