diff options
Diffstat (limited to 'sys/nfs4client/nfs4_vfsops.c')
-rw-r--r-- | sys/nfs4client/nfs4_vfsops.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/nfs4client/nfs4_vfsops.c b/sys/nfs4client/nfs4_vfsops.c index 8f81b11..fb61220 100644 --- a/sys/nfs4client/nfs4_vfsops.c +++ b/sys/nfs4client/nfs4_vfsops.c @@ -526,7 +526,7 @@ nfs4_daemon(void *arg) nfs4_daemonproc = NULL; mtx_unlock(&Giant); /*printf("nfsv4 renewd exiting\n");*/ - kthread_exit(0); + kproc_exit(0); } tsleep(&nfs4_daemonproc, PVFS, "nfs4", 2 * hz); } @@ -644,7 +644,7 @@ mountnfs(struct nfs_args *argp, struct mount *mp, struct sockaddr *nam, /* Start renewd if it isn't already running */ if (nfs4_daemonproc == NULL) - kthread_create(nfs4_daemon, crdup(cred), &nfs4_daemonproc, + kproc_create(nfs4_daemon, crdup(cred), &nfs4_daemonproc, (RFPROC|RFMEM), 0, "nfs4rd"); return (0); |