Subject: CVS commit: src/sys/kern
To: None <source-changes@NetBSD.org>
From: Antti Kantee <pooka@netbsd.org>
List: source-changes
Date: 08/12/2007 19:42:09
Module Name:	src
Committed By:	pooka
Date:		Sun Aug 12 19:42:09 UTC 2007

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

Log Message:
CREATE is a write operation in my book, so check for that also when
checking for a readonly lookup.  This shouldn't make a difference
now, though, as the only RDONLY lookup is done by getcwd(), and
that a) doesn't create files b) calls LOOKUP directly anyway.

Also, fix comment I managed to miss in the previous commit (I didn't
expect the same comment to be there twice).


To generate a diff of this commit:
cvs rdiff -r1.94 -r1.95 src/sys/kern/vfs_lookup.c

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