Subject: CVS commit: src/sys
To: None <source-changes@NetBSD.org>
From: Christos Zoulas <christos@netbsd.org>
List: source-changes
Date: 08/23/2006 17:19:33
Module Name:	src
Committed By:	christos
Date:		Wed Aug 23 17:19:33 UTC 2006

Modified Files:
	src/sys/dev/scsipi: st.c
	src/sys/kern: subr_disk.c subr_iostat.c
	src/sys/nfs: nfs_vfsops.c
	src/sys/sys: iostat.h

Log Message:
Change iostat_alloc() to take the parent pointer and the name directly, so
that callers are not responsible for initializing the fields. Store the name
inside the struct instead of maintaining a pointer to external storage, or
leaked memory (nfs case).


To generate a diff of this commit:
cvs rdiff -r1.191 -r1.192 src/sys/dev/scsipi/st.c
cvs rdiff -r1.79 -r1.80 src/sys/kern/subr_disk.c
cvs rdiff -r1.10 -r1.11 src/sys/kern/subr_iostat.c
cvs rdiff -r1.159 -r1.160 src/sys/nfs/nfs_vfsops.c
cvs rdiff -r1.5 -r1.6 src/sys/sys/iostat.h

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