From owner-cvs-src-old@FreeBSD.ORG Sat Oct 2 19:44:40 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ADCAF1065675 for ; Sat, 2 Oct 2010 19:44:40 +0000 (UTC) (envelope-from marcel@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 9BA748FC0A for ; Sat, 2 Oct 2010 19:44:40 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id o92Jietg096679 for ; Sat, 2 Oct 2010 19:44:40 GMT (envelope-from marcel@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id o92JieZL096678 for cvs-src-old@freebsd.org; Sat, 2 Oct 2010 19:44:40 GMT (envelope-from marcel@repoman.freebsd.org) Message-Id: <201010021944.o92JieZL096678@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to marcel@repoman.freebsd.org using -f From: Marcel Moolenaar Date: Sat, 2 Oct 2010 19:44:13 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/conf files src/sys/kern vfs_mount.c vfs_mountroot.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Oct 2010 19:44:40 -0000 marcel 2010-10-02 19:44:13 UTC FreeBSD src repository Modified files: sys/conf files sys/kern vfs_mount.c Added files: sys/kern vfs_mountroot.c Log: SVN rev 213365 on 2010-10-02 19:44:13Z by marcel 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. Revision Changes Path 1.1535 +1 -0 src/sys/conf/files 1.322 +28 -623 src/sys/kern/vfs_mount.c 1.1 +626 -0 src/sys/kern/vfs_mountroot.c (new)