Author: kib
Date: Mon Aug 31 09:08:14 2009
New Revision: 196687
URL: http://svn.freebsd.org/changeset/base/196687

Log:
  MFC r196560:
  Honor the vfs.timestamp_precision sysctl settings for utimes(path, NULL)
  and similar calls.
  
  Approved by:  re (rwatson)

Modified:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)
  stable/8/sys/dev/xen/xenpci/   (props changed)
  stable/8/sys/kern/vfs_syscalls.c

Modified: stable/8/sys/kern/vfs_syscalls.c
==============================================================================
--- stable/8/sys/kern/vfs_syscalls.c    Mon Aug 31 04:19:01 2009        
(r196686)
+++ stable/8/sys/kern/vfs_syscalls.c    Mon Aug 31 09:08:14 2009        
(r196687)
@@ -3134,8 +3134,7 @@ getutimes(usrtvp, tvpseg, tsp)
        int error;
 
        if (usrtvp == NULL) {
-               microtime(&tv[0]);
-               TIMEVAL_TO_TIMESPEC(&tv[0], &tsp[0]);
+               vfs_timestamp(&tsp[0]);
                tsp[1] = tsp[0];
        } else {
                if (tvpseg == UIO_SYSSPACE) {
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to