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 <teigland@redhat.com>

+1 -1
+1 -1
fs/dlm/lockspace.c
··· 812 error = release_lockspace(ls, force); 813 if (!error) 814 ls_count--; 815 - else if (!ls_count) 816 threads_stop(); 817 mutex_unlock(&ls_lock); 818
··· 812 error = release_lockspace(ls, force); 813 if (!error) 814 ls_count--; 815 + if (!ls_count) 816 threads_stop(); 817 mutex_unlock(&ls_lock); 818