Subject: CVS commit: src/sys
To: None <source-changes@NetBSD.org>
From: David Laight <dsl@netbsd.org>
List: source-changes
Date: 04/30/2007 08:32:15
Module Name:	src
Committed By:	dsl
Date:		Mon Apr 30 08:32:15 UTC 2007

Modified Files:
	src/sys/compat/common: vfs_syscalls_30.c
	src/sys/compat/netbsd32: netbsd32_compat_30.c netbsd32_fs.c
	src/sys/kern: vfs_syscalls.c
	src/sys/sys: vfs_syscalls.h

Log Message:
Split the statvfs functions so that the 'work' is done to a kernel buffer
which can either be copied directly to userspace, or converted then copied.
Saves replicating a lot of code in the compat functions (esp. for
getvfsstat) at a cast of an extra function call in the non-emulated case -
which is unlikely to be measurable given the other costs of the actions
involved (even on vax).
Remove dofhstat() and dofhstatvfs() (and the last caller).
Remove some redundant stackgap_init() calls.


To generate a diff of this commit:
cvs rdiff -r1.22 -r1.23 src/sys/compat/common/vfs_syscalls_30.c
cvs rdiff -r1.20 -r1.21 src/sys/compat/netbsd32/netbsd32_compat_30.c
cvs rdiff -r1.41 -r1.42 src/sys/compat/netbsd32/netbsd32_fs.c
cvs rdiff -r1.310 -r1.311 src/sys/kern/vfs_syscalls.c
cvs rdiff -r1.2 -r1.3 src/sys/sys/vfs_syscalls.h

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