aboutsummaryrefslogtreecommitdiffstats
path: root/fs/dlm
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2008-11-13 11:56:05 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2008-11-13 11:56:05 -0800
commit7b423653964b22e6ca1a1ffd84816d619d6a3976 (patch)
treea005620261a8830c86261733d0f1198d2303335b /fs/dlm
parent2d1595ad8766c9cbab81d259168c00261d382ac5 (diff)
parent278afcbf4fe964230eba67f8fb8235e8b7e63ffb (diff)
downloadkernel_samsung_tuna-7b423653964b22e6ca1a1ffd84816d619d6a3976.zip
kernel_samsung_tuna-7b423653964b22e6ca1a1ffd84816d619d6a3976.tar.gz
kernel_samsung_tuna-7b423653964b22e6ca1a1ffd84816d619d6a3976.tar.bz2
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
Diffstat (limited to 'fs/dlm')
-rw-r--r--fs/dlm/lockspace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/dlm/lockspace.c b/fs/dlm/lockspace.c
index d910501..8d86b79 100644
--- a/fs/dlm/lockspace.c
+++ b/fs/dlm/lockspace.c
@@ -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);