diff options
author | Julian Elischer <julian@FreeBSD.org> | 2001-09-12 08:38:13 +0000 |
---|---|---|
committer | Julian Elischer <julian@FreeBSD.org> | 2001-09-12 08:38:13 +0000 |
commit | b40ce4165d5eb3a5de1515245055350ae3dbab8e (patch) | |
tree | b1a19fcdf05759281fab0d89efb13f0fdf42102e /sys/kern/vfs_conf.c | |
parent | 9b36a30ee46a7766f269fe832ef3a2daa2ec04f0 (diff) | |
download | src-b40ce4165d5eb3a5de1515245055350ae3dbab8e.tar.gz src-b40ce4165d5eb3a5de1515245055350ae3dbab8e.zip |
KSE Milestone 2
Note ALL MODULES MUST BE RECOMPILED
make the kernel aware that there are smaller units of scheduling than the
process. (but only allow one thread per process at this time).
This is functionally equivalent to teh previousl -current except
that there is a thread associated with each process.
Sorry john! (your next MFC will be a doosie!)
Reviewed by: peter@freebsd.org, dillon@freebsd.org
X-MFC after: ha ha ha ha
Notes
Notes:
svn path=/head/; revision=83366
Diffstat (limited to 'sys/kern/vfs_conf.c')
-rw-r--r-- | sys/kern/vfs_conf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/vfs_conf.c b/sys/kern/vfs_conf.c index e651ef02103f..98c3f134fc7f 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); } |