Subject: CVS commit: src/sys/fs/union
To: None <source-changes@NetBSD.org>
From: Takeshi Nakayama <nakayama@netbsd.org>
List: source-changes
Date: 08/24/2005 15:21:28
Module Name:	src
Committed By:	nakayama
Date:		Wed Aug 24 15:21:28 UTC 2005

Modified Files:
	src/sys/fs/union: union_vfsops.c

Log Message:
statvfs(2) returns bogus result from union mounted file systems with
`-r' option, since it uses uninitialized buffer in the case of no
lower-layer file system.

So, add M_ZERO to malloc(9) flags to initialize the buffer.


To generate a diff of this commit:
cvs rdiff -r1.27 -r1.28 src/sys/fs/union/union_vfsops.c

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