summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_subr.c
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2009-01-23 22:13:00 +0000
committerjhb <jhb@FreeBSD.org>2009-01-23 22:13:00 +0000
commitd7c8a44c0dac083e6c66996e0ef16ab8af82fc9e (patch)
tree2f14cf714c43f702fbe34f41f80bcc2277765c3e /sys/kern/vfs_subr.c
parent4efa7c83e1eec7569c05a340284a2286efb7d56e (diff)
downloadFreeBSD-src-d7c8a44c0dac083e6c66996e0ef16ab8af82fc9e.zip
FreeBSD-src-d7c8a44c0dac083e6c66996e0ef16ab8af82fc9e.tar.gz
Tweak the wording for vfs_mark_atime() since the I/O it is avoiding by not
updating va_atime via VOP_SETATTR() isn't always synchronous. For some filesystems it is asynchronous. Suggested by: bde
Diffstat (limited to 'sys/kern/vfs_subr.c')
-rw-r--r--sys/kern/vfs_subr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c
index 0a08d26..4c3c462 100644
--- a/sys/kern/vfs_subr.c
+++ b/sys/kern/vfs_subr.c
@@ -4198,9 +4198,9 @@ vfs_read_dirent(struct vop_readdir_args *ap, struct dirent *dp, off_t off)
/*
* Mark for update the access time of the file if the filesystem
- * supports VOP_MARKATIME. This functionality is used by execve
- * and mmap, so we want to avoid the synchronous I/O implied by
- * directly setting va_atime for the sake of efficiency.
+ * supports VOP_MARKATIME. This functionality is used by execve and
+ * mmap, so we want to avoid the I/O implied by directly setting
+ * va_atime for the sake of efficiency.
*/
void
vfs_mark_atime(struct vnode *vp, struct ucred *cred)
OpenPOWER on IntegriCloud