diff options
author | Jakob Unterwurzacher | 2015-10-04 20:32:15 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2015-10-04 20:32:15 +0200 |
commit | aa082c235a9ba2726385c07913bf1917faf928b2 (patch) | |
tree | 23d6df7940b8e47e64e0a1ec83d59b1f6e22169e /cryptfs/nonce.go | |
parent | c7313f36dee285a8adab801632c8d692bd5f5e7e (diff) |
Utimens: Use UtimesNano instead of Futimes
Futimes() only takes microsecond resolution while the FUSE call
Utimens() wants nanosecond precision.
This is why UTIME_OMIT did not work - this change fixes the
xfstests generic/258 test failure.
The go library does not provide a FutimesNano() function which is
why I use UtimesNano() on /proc/self/fd/n.
This is what the Go library does in Futimes().
Diffstat (limited to 'cryptfs/nonce.go')
0 files changed, 0 insertions, 0 deletions