aboutsummaryrefslogtreecommitdiffstats
path: root/fs/dlm/lowcomms.c
diff options
context:
space:
mode:
authorJosef Bacik <jwhiter@redhat.com>2007-04-19 17:59:05 -0400
committerSteven Whitehouse <swhiteho@redhat.com>2007-05-01 04:11:38 -0400
commit2439fe50724e8693e8b933b3f8125d870bfbdb25 (patch)
tree7d14d4a09aefb1fcd9fe773a093aa4ac710af492 /fs/dlm/lowcomms.c
parent7d3c1feb80913ba4253c3517d48b9b3741c44fc9 (diff)
[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>
Diffstat (limited to 'fs/dlm/lowcomms.c')
-rw-r--r--fs/dlm/lowcomms.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/dlm/lowcomms.c b/fs/dlm/lowcomms.c
index 76399b7819b4..2b32f3c82feb 100644
--- a/fs/dlm/lowcomms.c
+++ b/fs/dlm/lowcomms.c
@@ -1407,7 +1407,7 @@ void dlm_lowcomms_stop(void)
1407 clean_writequeues(); 1407 clean_writequeues();
1408 1408
1409 for (i = 0; i < max_nodeid; i++) { 1409 for (i = 0; i < max_nodeid; i++) {
1410 con = nodeid2con(i, 0); 1410 con = __nodeid2con(i, 0);
1411 if (con) { 1411 if (con) {
1412 close_connection(con, true); 1412 close_connection(con, true);
1413 if (con->othercon) 1413 if (con->othercon)