-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Compare timestamps with 100ns resolution instead of 1ns
SMB only supports 100ns, so we may have missed corruption in the following case: 1) Files are stored on ext4, cshatag runs and tags all files 2) Files are moved to SMB 3) Some file content gets corrupted during the move 4) cshatag considers these as "outdated" instead of "corrupt" 100ns should be good enough for everything, and avoids this problem. #21
- Loading branch information
Showing
2 changed files
with
30 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters