Subject: CVS commit: src/sys/fs/ptyfs
To: None <source-changes@NetBSD.org>
From: Simon Burge <firstname.lastname@example.org>
Date: 10/12/2005 15:23:33
Module Name: src
Committed By: simonb
Date: Wed Oct 12 15:23:33 UTC 2005
Update the mod and access times directly from ptyfs_read() and
ptyfs_write() rather than setting a flag and updating these times
through ptyfs_itimes() at some indeterminate time in the future.
However, just use the "time" variable to set the times instead of
using a potentially expensive call to nanotime(). A HZ resolution
on these timestamps is more than enough.
(Possibly incomplete) fix for PR kern/31430.
OK'd be christos@.
To generate a diff of this commit:
cvs rdiff -r1.9 -r1.10 src/sys/fs/ptyfs/ptyfs_vnops.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.