DragonFly-2.1.1.444.g34943 master lib/libc/sys stat.2 sys/kern kern_exec.c vfs_default.c vfs_subr.c vfs_vopops.c sys/sys vfsops.h vnode.h sys/vfs/hammer hammer_vnops.c sys/vfs/ufs ufs_vnops.c sys/vm vm_mmap.c

Matthew Dillon dillon at crater.dragonflybsd.org
Tue Jan 20 17:42:03 PST 2009


commit 349433c9ce488bf66a66873bc5591529ad32500f
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Tue Jan 20 17:39:51 2009 -0800

    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

Summary of changes:
 lib/libc/sys/stat.2           |    6 ++++--
 sys/kern/kern_exec.c          |    3 +++
 sys/kern/vfs_default.c        |    7 +++++++
 sys/kern/vfs_subr.c           |   10 ++++++++++
 sys/kern/vfs_vopops.c         |   27 ++++++++++++++++++++++++++-
 sys/sys/vfsops.h              |   14 ++++++++++++++
 sys/sys/vnode.h               |    2 ++
 sys/vfs/hammer/hammer_vnops.c |   31 +++++++++++++++++++++++++++++++
 sys/vfs/ufs/ufs_vnops.c       |   20 ++++++++++++++++++++
 sys/vm/vm_mmap.c              |    8 ++++++++
 10 files changed, 125 insertions(+), 3 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/349433c9ce488bf66a66873bc5591529ad32500f


-- 
DragonFly BSD source repository





More information about the Commits mailing list