Subject: CVS commit: [netbsd-2-1] src/sys/kern
To: None <source-changes@NetBSD.org>
From: Manuel Bouyer <bouyer@netbsd.org>
List: source-changes
Date: 02/06/2007 21:17:16
Module Name:	src
Committed By:	bouyer
Date:		Tue Feb  6 21:17:16 UTC 2007

Modified Files:
	src/sys/kern [netbsd-2-1]: vfs_syscalls.c

Log Message:
Pull up following revision(s) (requested by adrianp in ticket #11015):
	sys/kern/vfs_syscalls.c: revision 1.293 via patch
Fix issue noted by Ilja van Sprundel and disclosed at 23C3.

Make sure we always FILE_UNUSE the file. To make it easier, exit
via a new "out:" exit path that does so, setting error beforehand.

Fix suggested by Elad, hand-typed by me.


To generate a diff of this commit:
cvs rdiff -r1.205 -r1.205.6.1 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.