]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r333311:
authorpfg <pfg@FreeBSD.org>
Wed, 6 Jun 2018 22:29:21 +0000 (22:29 +0000)
committerpfg <pfg@FreeBSD.org>
Wed, 6 Jun 2018 22:29:21 +0000 (22:29 +0000)
commit8d60b226cde9aef708ccb969399636d396783b6f
tree34311766724300ec558ab6ae3f84bb856bd434c8
parent4a4ab2a82843ba496b969eb11f32aeb2f09c2c63
MFC r333311:
msdosfs: use vfs_timestamp() to generate timestamps instead of getnanotime().

Most filesystems, with the notable exceptions of msdosfs and autofs use
only vfs_timestamp() to read the current time. This has the benefit of
configurable granularity (using the vfs.timestamp_precision sysctl).

For convenience, use it on msdosfs too.

Submitted by: Damjan Jovanovic
sys/fs/msdosfs/msdosfs_denode.c
sys/fs/msdosfs/msdosfs_vnops.c