Page MenuHomeFreeBSD

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

Authored by damjan.jov_gmail.com on May 4 2018, 5:53 PM.
Referenced Files
Unknown Object (File)
Oct 19 2024, 8:27 PM
Unknown Object (File)
Oct 1 2024, 4:15 PM
Unknown Object (File)
Sep 12 2024, 2:45 PM
Unknown Object (File)
Sep 8 2024, 9:49 PM
Unknown Object (File)
Sep 8 2024, 2:33 AM
Unknown Object (File)
Sep 7 2024, 3:21 PM
Unknown Object (File)
Aug 22 2024, 5:55 PM
Unknown Object (File)
Aug 22 2024, 2:23 AM
Subscribers

Details

Summary

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

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

Event Timeline

pfg added a reviewer: emaste.

Approved.
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.