From owner-cvs-all Thu Mar 28 5:47:38 2002 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 55CE137B41A; Thu, 28 Mar 2002 05:47:32 -0800 (PST) Received: (from mux@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2SDlWl80142; Thu, 28 Mar 2002 05:47:32 -0800 (PST) (envelope-from mux) Message-Id: <200203281347.g2SDlWl80142@freefall.freebsd.org> From: Maxime Henrion Date: Thu, 28 Mar 2002 05:47:32 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern vfs_syscalls.c X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG mux 2002/03/28 05:47:32 PST Modified files: sys/kern vfs_syscalls.c Log: - Properly sync vfs_nmount() with changes that have be already done in vfs_mount(), in particular revisions 1.215, 1.227 and 1.240. - flag2 is a low quality variable name, change it to kern_flag. - strncpy NUL-terminates f_fstypename and f_mntonname since the strings have length <= - 1, so the explicit NUL-termination is bogus. - M_ZERO'ing space for fstype and fspath is stupid since we never use the space beyond the end of the string. - Do various style(9) cleanups in both functions. Submitted by: bde Reviewed by: phk Revision Changes Path 1.241 +39 -57 src/sys/kern/vfs_syscalls.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message