Subject: CVS commit: src/sys/fs/puffs
To: None <source-changes@NetBSD.org>
From: Antti Kantee <pooka@netbsd.org>
List: source-changes
Date: 02/08/2007 22:55:06
Module Name:	src
Committed By:	pooka
Date:		Thu Feb  8 22:55:06 UTC 2007

Modified Files:
	src/sys/fs/puffs: puffs_vnops.c

Log Message:
If the file server doesn't support write, don't use genfs_null_putpages
for putpages, as it assumes a vnode doesn't have any pages.  For
mounts using the page cache this is simply not true.  Rather,
prevent opening a regular file in write-mode.  That way a vnode
can never have dirty pages which would need to be flushed (i.e.
written).


To generate a diff of this commit:
cvs rdiff -r1.46 -r1.47 src/sys/fs/puffs/puffs_vnops.c

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