Subject: CVS commit: src/sys/fs/puffs
To: None <source-changes@NetBSD.org>
From: Antti Kantee <pooka@netbsd.org>
List: source-changes
Date: 05/06/2007 19:43:14
Module Name: src
Committed By: pooka
Date: Sun May 6 19:43:14 UTC 2007
Modified Files:
src/sys/fs/puffs: puffs_vnops.c
Log Message:
If setattr is called explicitly, use that as the sign to flush out
all metadata info cached in the kernel while we're setattr'ing in
any case. Solves problems such as truncate (via extend-by-write)
+ chmod resulting in EPERM because the file was already read-only
when the actual truncate was flushed out of the kernel in fsync.
To generate a diff of this commit:
cvs rdiff -r1.64 -r1.65 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.