diff options
| author | Dima Dorfman <dd@FreeBSD.org> | 2002-05-27 05:20:15 +0000 |
|---|---|---|
| committer | Dima Dorfman <dd@FreeBSD.org> | 2002-05-27 05:20:15 +0000 |
| commit | ad308c10c733179e475547bd3b0801ddfa7d5511 (patch) | |
| tree | 7f2077e1f0254573ba12a81c7f44e7262febbd72 | |
| parent | 3f5869d0b05367d93cf1523c05f6ddbf1e78f845 (diff) | |
Notes
| -rw-r--r-- | sys/nfsclient/nfs_socket.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/nfsclient/nfs_socket.c b/sys/nfsclient/nfs_socket.c index eda43db43051..09ea0e018e9d 100644 --- a/sys/nfsclient/nfs_socket.c +++ b/sys/nfsclient/nfs_socket.c @@ -232,8 +232,8 @@ nfs_connect(struct nfsmount *nmp, struct nfsreq *rep) s = splnet(); SOCK_LOCK(so); while ((so->so_state & SS_ISCONNECTING) && so->so_error == 0) { - (void) tsleep((caddr_t)&so->so_timeo, PSOCK, - "nfscon", 2 * hz); + (void) msleep((caddr_t)&so->so_timeo, SOCK_MTX(so), + PSOCK, "nfscon", 2 * hz); if ((so->so_state & SS_ISCONNECTING) && so->so_error == 0 && rep && (error = nfs_sigintr(nmp, rep, |
