summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_conf.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/vfs_conf.c')
-rw-r--r--sys/kern/vfs_conf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/vfs_conf.c b/sys/kern/vfs_conf.c
index e651ef0..98c3f13 100644
--- a/sys/kern/vfs_conf.c
+++ b/sys/kern/vfs_conf.c
@@ -227,7 +227,7 @@ vfs_mountroot_try(char *mountfrom)
*/
strncpy(mp->mnt_stat.f_mntonname, "/", MNAMELEN);
- error = VFS_MOUNT(mp, NULL, NULL, NULL, curproc);
+ error = VFS_MOUNT(mp, NULL, NULL, NULL, curthread);
done:
if (vfsname != NULL)
@@ -236,7 +236,7 @@ done:
free(path, M_MOUNT);
if (error != 0) {
if (mp != NULL) {
- vfs_unbusy(mp, curproc);
+ vfs_unbusy(mp, curthread);
free(mp, M_MOUNT);
}
printf("Root mount failed: %d\n", error);
@@ -249,7 +249,7 @@ done:
/* sanity check system clock against root filesystem timestamp */
inittodr(mp->mnt_time);
- vfs_unbusy(mp, curproc);
+ vfs_unbusy(mp, curthread);
}
return(error);
}
OpenPOWER on IntegriCloud