summaryrefslogtreecommitdiff
path: root/cryptfs/cryptfs_content.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2015-10-04 20:32:15 +0200
committerJakob Unterwurzacher2015-10-04 20:32:15 +0200
commitaa082c235a9ba2726385c07913bf1917faf928b2 (patch)
tree23d6df7940b8e47e64e0a1ec83d59b1f6e22169e /cryptfs/cryptfs_content.go
parentc7313f36dee285a8adab801632c8d692bd5f5e7e (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/cryptfs_content.go')
0 files changed, 0 insertions, 0 deletions