Issue 1013 - update atime on exec and mmap, add helper vop_markatime
authorMatthew Dillon <dillon@apollo.backplane.com>
Wed, 21 Jan 2009 01:39:51 +0000 (17:39 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Wed, 21 Jan 2009 01:39:51 +0000 (17:39 -0800)
commit349433c9ce488bf66a66873bc5591529ad32500f
tree5ebf72d95daece33d11bcbc9563fe06db46a8cc8
parentdd79153ed346ed574fad6a40026300fafc6a8aa3
Issue 1013 - update atime on exec and mmap, add helper vop_markatime

Add a new helper VOP which passively updates a vnode's atime.  Implement
the new VOP in HAMMER and UFS and create a default op which does nothing.
Call the new function from mmap() and exec().

Submitted-by: Dion Blazakis
Reported-by: Simon Schubert
lib/libc/sys/stat.2
sys/kern/kern_exec.c
sys/kern/vfs_default.c
sys/kern/vfs_subr.c
sys/kern/vfs_vopops.c
sys/sys/vfsops.h
sys/sys/vnode.h
sys/vfs/hammer/hammer_vnops.c
sys/vfs/ufs/ufs_vnops.c
sys/vm/vm_mmap.c