summaryrefslogtreecommitdiffstats
path: root/sys/conf
diff options
context:
space:
mode:
authormarcel <marcel@FreeBSD.org>2010-10-02 19:44:13 +0000
committermarcel <marcel@FreeBSD.org>2010-10-02 19:44:13 +0000
commitff3fbc640db9a79b87a17e1d16c3577429252093 (patch)
treeb11d32f27ac585ad36aa7a5f1fd98ee0488f6df9 /sys/conf
parent9c329941907d63b275da17ba20294c7f0a2e324b (diff)
downloadFreeBSD-src-ff3fbc640db9a79b87a17e1d16c3577429252093.zip
FreeBSD-src-ff3fbc640db9a79b87a17e1d16c3577429252093.tar.gz
Split the root mount logic from the (generic) mount code and move
it (the root mount code) into a new file called vfs_mountroot.c The split is almost trivial, as the code is almost perfectly non-intertwined. The only adjustment needed was to move the UMA zone allocation out of vfs_mountroot() [in vfs_mountroot.c] and into vfs_mount.c, where it had to be done as a SYSINIT [see vfs_mount_init()]. There are no functional changes with this commit.
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/files1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/conf/files b/sys/conf/files
index ad3eb5f..25f5e24 100644
--- a/sys/conf/files
+++ b/sys/conf/files
@@ -2264,6 +2264,7 @@ kern/vfs_hash.c standard
kern/vfs_init.c standard
kern/vfs_lookup.c standard
kern/vfs_mount.c standard
+kern/vfs_mountroot.c standard
kern/vfs_subr.c standard
kern/vfs_syscalls.c standard
kern/vfs_vnops.c standard
OpenPOWER on IntegriCloud