summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
Diffstat (limited to 'fs')
-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 73d44f5..0553a61 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;
}
}
OpenPOWER on IntegriCloud