summaryrefslogtreecommitdiff
path: root/fs/dlm/lowcomms.c
diff options
context:
space:
mode:
authorakpm@linux-foundation.org <akpm@linux-foundation.org>2007-06-27 14:43:37 -0700
committerSteven Whitehouse <swhiteho@redhat.com>2007-07-09 08:24:06 +0100
commitf4fadb23ca49abd2f1387a0b7e78b385ebc760ce (patch)
tree8e1d7a958694356ab0793309cf5b41e878fe6e59 /fs/dlm/lowcomms.c
parentb3657629249eba0b3b61ff964d6e1539b469d117 (diff)
downloadlwn-f4fadb23ca49abd2f1387a0b7e78b385ebc760ce.tar.gz
lwn-f4fadb23ca49abd2f1387a0b7e78b385ebc760ce.zip
[GFS2] git-gfs2-nmw-build-fix
Cc: Steven Whitehouse <swhiteho@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Steven Whitehouse <swhiteho@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 73d44f57e24a..0553a6158dcb 100644
--- a/fs/dlm/lowcomms.c
+++ b/fs/dlm/lowcomms.c
@@ -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;
}
}