Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fuse/nodefs: fix confusion between atime and mtime #100

Closed
wants to merge 1 commit into from
Closed

fuse/nodefs: fix confusion between atime and mtime #100

wants to merge 1 commit into from

Conversation

nnnlife
Copy link
Contributor

@nnnlife nnnlife commented Feb 13, 2016

No description provided.

rfjakob added a commit to rfjakob/go-fuse that referenced this pull request Sep 25, 2016
syscall.NsecToTimespec is broken for dates before 1970 but works
fine otherwise.

Fix hanwen#100 as well and add a testcase.
rfjakob added a commit to rfjakob/go-fuse that referenced this pull request Oct 24, 2016
1) Fix the "a" instead of "m" typo in loopbackFile.Utimens.
   Besides the incorrect behavoir, this causes a crash if "a"
   is nil.
   Obsoletes hanwen#100 .

2) Enable nanosecond resolution for dates after 1970.
   syscall.NsecToTimespec is broken for dates before 1970 but
   works fine otherwise, so let's keep the nanoseconds there.

3) Deduplicate the time conversion code in nodefs and paths into
   the new function fuse.UtimeToTimespec.

4) Add a test case.
@hanwen hanwen closed this in #131 Oct 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant