diff options
| author | Ed Schouten <ed@FreeBSD.org> | 2008-07-22 21:27:22 +0000 |
|---|---|---|
| committer | Ed Schouten <ed@FreeBSD.org> | 2008-07-22 21:27:22 +0000 |
| commit | 8c2ceafebf0fe2c49d3b5d56a7d654194fa9bc7b (patch) | |
| tree | 4fe889d36172171178190558d3aff2196e25613c /sys/nfsclient/nfs_vfsops.c | |
| parent | fbbc785240296e150fe41b8a8495e7c2f94170d0 (diff) | |
Notes
Diffstat (limited to 'sys/nfsclient/nfs_vfsops.c')
| -rw-r--r-- | sys/nfsclient/nfs_vfsops.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/nfsclient/nfs_vfsops.c b/sys/nfsclient/nfs_vfsops.c index c21b48ec2b97..85b85038f89a 100644 --- a/sys/nfsclient/nfs_vfsops.c +++ b/sys/nfsclient/nfs_vfsops.c @@ -117,6 +117,8 @@ static vfs_statfs_t nfs_statfs; static vfs_sync_t nfs_sync; static vfs_sysctl_t nfs_sysctl; +static int fake_wchan; + /* * nfs vfs operations. */ @@ -700,7 +702,7 @@ nfs_decode_args(struct mount *mp, struct nfsmount *nmp, struct nfs_args *argp) if (nmp->nm_sotype == SOCK_DGRAM) while (nfs_connect(nmp, NULL)) { printf("nfs_args: retrying connect\n"); - (void) tsleep((caddr_t)&lbolt, PSOCK, "nfscon", 0); + (void) tsleep(&fake_wchan, PSOCK, "nfscon", hz); } } |
