Page MenuHomeFreeBSD

msdosfs: use vfs_timestamp() to generate timestamps instead of getnanotime()

Authored by on May 4 2018, 5:53 PM.
Referenced Files
Unknown Object (File)
Wed, May 1, 9:27 PM
Unknown Object (File)
Wed, May 1, 9:27 PM
Unknown Object (File)
Wed, May 1, 9:27 PM
Unknown Object (File)
Wed, May 1, 6:44 PM
Unknown Object (File)
Fri, Apr 26, 6:13 PM
Unknown Object (File)
Fri, Apr 19, 7:21 AM
Unknown Object (File)
Mar 29 2024, 8:35 AM
Unknown Object (File)
Mar 21 2024, 6:13 PM



All filesystems except 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). This patch changes msdosfs to use it too, instead of the current getnanotime().

Diff Detail

rS FreeBSD src repository - subversion
Lint Not Applicable
Tests Not Applicable

Event Timeline

pfg added a reviewer: emaste.

Hoping someone else can do the honors though .. I did somethig dumb with my partition table.

This revision is now accepted and ready to land.May 4 2018, 6:08 PM

For the record, his patch first appeared in PR 217560, it's unrelated to the Bug, so I asked for an independent CR.
I will take care of it.

This revision was automatically updated to reflect the committed changes.