[DLM] Fix dlm_lowcoms_stop hang
authorJosef Bacik <jwhiter@redhat.com>
Thu, 19 Apr 2007 21:59:05 +0000 (17:59 -0400)
committerSteven Whitehouse <swhiteho@redhat.com>
Tue, 1 May 2007 08:11:38 +0000 (09:11 +0100)
commit2439fe50724e8693e8b933b3f8125d870bfbdb25
tree7d14d4a09aefb1fcd9fe773a093aa4ac710af492
parent7d3c1feb80913ba4253c3517d48b9b3741c44fc9
[DLM] Fix dlm_lowcoms_stop hang

When you attempt to release a lockspace in DLM, it will hang trying to down a
semaphore that has already been downed.  The attached patch fixes the problem.

Signed-off-by: Josef Bacik <jwhiter@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Cc: Patrick Caulfield <pcaulfie@redhat.com>
fs/dlm/lowcomms.c