Subject: CVS commit: src/sys
To: None <source-changes@NetBSD.org>
From: Charles M. Hannum <mycroft@netbsd.org>
List: source-changes
Date: 01/09/2005 03:11:48
Module Name:	src
Committed By:	mycroft
Date:		Sun Jan  9 03:11:48 UTC 2005

Modified Files:
	src/sys/fs/cd9660: cd9660_vfsops.c
	src/sys/fs/msdosfs: msdosfs_vfsops.c
	src/sys/fs/ntfs: ntfs_vfsops.c
	src/sys/kern: init_main.c vfs_subr.c
	src/sys/ufs/ext2fs: ext2fs_vfsops.c
	src/sys/ufs/ffs: ffs_vfsops.c
	src/sys/ufs/lfs: lfs_vfsops.c
	src/sys/ufs/mfs: mfs_vfsops.c

Log Message:
Rework the mountroot interface so that vfs_mountroot() opens the root device
and just passes it on to the file system functions.  This avoids opening and
closing the device several times.

Mentioned on tech-kern some time ago, IIRC.  I've been running this for a
long time.


To generate a diff of this commit:
cvs rdiff -r1.20 -r1.21 src/sys/fs/cd9660/cd9660_vfsops.c
cvs rdiff -r1.21 -r1.22 src/sys/fs/msdosfs/msdosfs_vfsops.c
cvs rdiff -r1.26 -r1.27 src/sys/fs/ntfs/ntfs_vfsops.c
cvs rdiff -r1.242 -r1.243 src/sys/kern/init_main.c
cvs rdiff -r1.238 -r1.239 src/sys/kern/vfs_subr.c
cvs rdiff -r1.78 -r1.79 src/sys/ufs/ext2fs/ext2fs_vfsops.c
cvs rdiff -r1.158 -r1.159 src/sys/ufs/ffs/ffs_vfsops.c
cvs rdiff -r1.159 -r1.160 src/sys/ufs/lfs/lfs_vfsops.c
cvs rdiff -r1.63 -r1.64 src/sys/ufs/mfs/mfs_vfsops.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.