Subject: CVS commit: src/sys/kern
To: None <source-changes@NetBSD.org>
From: Elad Efrat <elad@netbsd.org>
List: source-changes
Date: 12/24/2006 12:43:17
Module Name:	src
Committed By:	elad
Date:		Sun Dec 24 12:43:17 UTC 2006

Modified Files:
	src/sys/kern: vfs_syscalls.c

Log Message:
Slash sys_mount() and add three helper functions: mount_update(),
mount_getargs(), and mount_domount() to handle three main things it can
do.

This makes the code more readable and removes the horrible goto mess
that was lurking there since forever... it also makes it easier to
implement a security policy for that code.


To generate a diff of this commit:
cvs rdiff -r1.282 -r1.283 src/sys/kern/vfs_syscalls.c

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