Skip to content

Commit

Permalink
Issue kubernetes#3044 - set timestamps of mounted files with windows …
Browse files Browse the repository at this point in the history
…host.
  • Loading branch information
ngoozeff committed Oct 31, 2018
1 parent 14244b3 commit 3ea3bb1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions third_party/go9p/ufs_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ func dir2Dir(path string, d os.FileInfo, dotu bool, upool Users) (*Dir, error) {
dir := new(ufsDir)
dir.Qid = *dir2Qid(d)
dir.Mode = dir2Npmode(d, dotu)
// dir.Atime = uint32(0 /*atime(sysMode).Unix()*/)
// dir.Mtime = uint32(d.ModTime().Unix())
dir.Atime = uint32(atime(d).Unix())
dir.Mtime = uint32(d.ModTime().Unix())
dir.Length = uint64(d.Size())
dir.Name = path[strings.LastIndex(path, "/")+1:]

Expand Down

0 comments on commit 3ea3bb1

Please sign in to comment.