Subject: Re: CVS commit: src/sys/ufs
To: None <yamt@netbsd.org>
From: Simon Burge <simonb@wasabisystems.com>
List: source-changes
Date: 09/27/2005 00:00:49
YAMAMOTO Takashi wrote:
> Module Name: src
> Committed By: yamt
> Date: Mon Sep 26 13:52:21 UTC 2005
>
> Modified Files:
>
> src/sys/ufs/ext2fs: ext2fs_inode.c
> src/sys/ufs/ffs: ffs_alloc.c ffs_snapshot.c
> src/sys/ufs/lfs: lfs_segment.c
> src/sys/ufs/ufs: ufs_lookup.c
>
> Log Message:
>
> always use nanotime rather than time.
> it's bad to mix nanotime and time because it sometimes
> make timestamps go backwards.
>
> --
> To generate a diff of this commit:
> cvs rdiff -r1.86 -r1.87 src/sys/ufs/ffs/ffs_alloc.c
/*
* Set the mtime to the time the snapshot has been taken.
*/
- TIMEVAL_TO_TIMESPEC(&starttime, &ts);
+ nanotime(&ts);
Is that one correct?
Simon.
--
Simon Burge <simonb@wasabisystems.com>
NetBSD Support and Service: http://www.wasabisystems.com/