From owner-cvs-src@FreeBSD.ORG Fri Dec 3 22:38:07 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 984CF16A4CE; Fri, 3 Dec 2004 22:38:07 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 72CF043D1F; Fri, 3 Dec 2004 22:38:07 +0000 (GMT) (envelope-from phk@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id iB3Mc7tt003150; Fri, 3 Dec 2004 22:38:07 GMT (envelope-from phk@repoman.freebsd.org) Received: (from phk@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id iB3Mc7EG003149; Fri, 3 Dec 2004 22:38:07 GMT (envelope-from phk) Message-Id: <200412032238.iB3Mc7EG003149@repoman.freebsd.org> From: Poul-Henning Kamp Date: Fri, 3 Dec 2004 22:38:07 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/sys mount.h src/sys/kern vfs_mount.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Dec 2004 22:38:07 -0000 phk 2004-12-03 22:38:07 UTC FreeBSD src repository Modified files: sys/sys mount.h sys/kern vfs_mount.c Log: Implement a function, mount_arg() for accumulating a list of mount parameters to nmount. Make kernel_mount() accept the output from mount_arg() and know how to free the malloc'ed space. Make kernel_vmount() use the new function. Revision Changes Path 1.158 +45 -42 src/sys/kern/vfs_mount.c 1.181 +3 -1 src/sys/sys/mount.h