aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)
728 else { 728 else {
729 printk("Extra connection from node %d attempted\n", nodeid); 729 printk("Extra connection from node %d attempted\n", nodeid);
730 result = -EAGAIN; 730 result = -EAGAIN;
731 up_write(&newcon->sock_sem); 731 mutex_unlock(&newcon->sock_mutex);
732 goto accept_err; 732 goto accept_err;
733 } 733 }
734 } 734 }