Subject: CVS commit: [netbsd-3] src/sys/fs/union
To: None <source-changes@NetBSD.org>
From: Matthias Scheler <firstname.lastname@example.org>
Date: 08/28/2005 09:58:59
Module Name: src
Committed By: tron
Date: Sun Aug 28 09:58:59 UTC 2005
src/sys/fs/union [netbsd-3]: union_vfsops.c
Pull up following revision(s) (requested by nakayama in ticket #708):
sys/fs/union/union_vfsops.c: revision 1.28
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.25 -r22.214.171.124 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.