diff options
author | David Schultz <das@FreeBSD.org> | 2005-02-20 23:02:20 +0000 |
---|---|---|
committer | David Schultz <das@FreeBSD.org> | 2005-02-20 23:02:20 +0000 |
commit | e8ed933099e4bde79addfc530a5eb0c4ae5669f1 (patch) | |
tree | 09def4fb6204089e572f777bb89377d86b31c461 /sys/kern/vfs_mount.c | |
parent | 0e2b18143f1c5224d4b4e6f78dd826fff3e898a6 (diff) | |
download | src-e8ed933099e4bde79addfc530a5eb0c4ae5669f1.tar.gz src-e8ed933099e4bde79addfc530a5eb0c4ae5669f1.zip |
Remove VFS_START(). Its original purpose involved the mfs filesystem,
which is long gone.
Discussed with: mckusick
Reviewed by: phk
Notes
Notes:
svn path=/head/; revision=142153
Diffstat (limited to 'sys/kern/vfs_mount.c')
-rw-r--r-- | sys/kern/vfs_mount.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/kern/vfs_mount.c b/sys/kern/vfs_mount.c index 0d4f10181576..94e2715d63f5 100644 --- a/sys/kern/vfs_mount.c +++ b/sys/kern/vfs_mount.c @@ -792,7 +792,7 @@ vfs_domount( if ((mp->mnt_flag & MNT_RDONLY) == 0) error = vfs_allocate_syncvnode(mp); vfs_unbusy(mp, td); - if (error || (error = VFS_START(mp, 0, td)) != 0) + if (error) vrele(vp); } else { VI_LOCK(vp); @@ -1054,8 +1054,6 @@ devfs_first(void) if (error) return (NULL); - VFS_START(mp, 0, td); - mtx_lock(&mountlist_mtx); TAILQ_INSERT_HEAD(&mountlist, mp, mnt_list); mtx_unlock(&mountlist_mtx); @@ -1263,7 +1261,6 @@ vfs_mountroot_try(const char *mountfrom) /* sanity check system clock against root fs timestamp */ inittodr(mp->mnt_time); vfs_unbusy(mp, curthread); - error = VFS_START(mp, 0, curthread); devfs_fixup(curthread); } |