Browse Source

[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>
akpm@linux-foundation.org 18 years ago
parent
commit
f4fadb23ca
1 changed files with 1 additions and 1 deletions
  1. 1 1
      fs/dlm/lowcomms.c

+ 1 - 1
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;
 		}
 	}