[GFS2] git-gfs2-nmw-build-fix
authorakpm@linux-foundation.org <akpm@linux-foundation.org>
Wed, 27 Jun 2007 21:43:37 +0000 (14:43 -0700)
committerSteven Whitehouse <swhiteho@redhat.com>
Mon, 9 Jul 2007 07:24:06 +0000 (08:24 +0100)
Cc: Steven Whitehouse <swhiteho@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/dlm/lowcomms.c

index 73d44f57e24a0e7870c28a59481c3a952f561ebf..0553a6158dcbcf1bcc89d4e5d0733419ffc88214 100644 (file)
@@ -728,7 +728,7 @@ static int tcp_accept_from_sock(struct connection *con)
                else {
                        printk("Extra connection from node %d attempted\n", nodeid);
                        result = -EAGAIN;
-                       up_write(&newcon->sock_sem);
+                       mutex_unlock(&newcon->sock_mutex);
                        goto accept_err;
                }
        }