Subject: CVS commit: src/sys/kern
To: None <source-changes@NetBSD.org>
From: Bill Studenmund <wrstuden@netbsd.org>
List: source-changes
Date: 01/03/2007 23:20:58
Module Name:	src
Committed By:	wrstuden
Date:		Wed Jan  3 23:20:58 UTC 2007

Modified Files:
	src/sys/kern: vfs_syscalls.c

Log Message:
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.292 -r1.293 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.