Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=2439fe50724e8693e8b933b3f8125d870bfbdb25
Commit:     2439fe50724e8693e8b933b3f8125d870bfbdb25
Parent:     7d3c1feb80913ba4253c3517d48b9b3741c44fc9
Author:     Josef Bacik <[EMAIL PROTECTED]>
AuthorDate: Thu Apr 19 17:59:05 2007 -0400
Committer:  Steven Whitehouse <[EMAIL PROTECTED]>
CommitDate: Tue May 1 09:11:38 2007 +0100

    [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 <[EMAIL PROTECTED]>
    Signed-off-by: Steven Whitehouse <[EMAIL PROTECTED]>
    Cc: Patrick Caulfield <[EMAIL PROTECTED]>
---
 fs/dlm/lowcomms.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/fs/dlm/lowcomms.c b/fs/dlm/lowcomms.c
index 76399b7..2b32f3c 100644
--- a/fs/dlm/lowcomms.c
+++ b/fs/dlm/lowcomms.c
@@ -1407,7 +1407,7 @@ void dlm_lowcomms_stop(void)
        clean_writequeues();
 
        for (i = 0; i < max_nodeid; i++) {
-               con = nodeid2con(i, 0);
+               con = __nodeid2con(i, 0);
                if (con) {
                        close_connection(con, true);
                        if (con->othercon)
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to