NetBSD/usr.sbin/puffs/mount_psshfs
pooka 968196af71 If a regular file was remotely updated and a readdir was done on
the directory which contained the file before a getattr on the file
itself, the locally cached mtime would be updated without invalidating
the kernel page cache.  Thus incorrect data would be returned when
the node was read afterwards as the node size wouldn't match the
data length in the page cache.

Fix the problem by making all vattr-setting routines use the same code.

Problem noticed again by jmmv & atf (and again by running atf over
psshfs ... sometimes you're the windshield, sometimes you're the bug)
2007-11-16 15:53:47 +00:00
..
fs.c adapt: **newnode etc. pointers -> struct puffs_newinfo 2007-07-01 18:40:15 +00:00
Makefile get rid of DBG= 2007-07-18 22:38:58 +00:00
mount_psshfs.8 Make it possible to force attribute/directory cache re-read by 2007-11-08 17:49:43 +00:00
node.c Don't overload "attributes last read" for the symlink cache, 2007-11-11 18:06:35 +00:00
psbuf.c adapt to new cmpfb signature 2007-09-06 16:09:09 +00:00
psshfs.c Don't overload "attributes last read" for the symlink cache, 2007-11-11 18:06:35 +00:00
psshfs.h Don't overload "attributes last read" for the symlink cache, 2007-11-11 18:06:35 +00:00
sftp_proto.h Move puffs to a two clause license where it already isn't so. And 2007-06-06 01:54:59 +00:00
subr.c If a regular file was remotely updated and a readdir was done on 2007-11-16 15:53:47 +00:00