diff options
author | gVisor bot <gvisor-bot@google.com> | 2019-11-18 19:59:51 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-11-18 19:59:51 +0000 |
commit | fb97248393bd2acffab4bb59e3b9fcb32aa9d9fe (patch) | |
tree | 3deb7b7c092a924f1cbcc29af625040e183fdf3b /pkg/sentry/fs/host/util.go | |
parent | ac49b282fdd81b48b8ad7a6675a2fa0f612d2149 (diff) | |
parent | 235a96cab15e64c69fbbdce03c9bb4eb2c30b0d5 (diff) |
Merge release-20191114.0-13-g235a96c (automated)
Diffstat (limited to 'pkg/sentry/fs/host/util.go')
-rw-r--r-- | pkg/sentry/fs/host/util.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/fs/host/util.go b/pkg/sentry/fs/host/util.go index bad61a9a1..e37e687c6 100644 --- a/pkg/sentry/fs/host/util.go +++ b/pkg/sentry/fs/host/util.go @@ -155,7 +155,7 @@ func unstableAttr(mo *superOperations, s *syscall.Stat_t) fs.UnstableAttr { AccessTime: ktime.FromUnix(s.Atim.Sec, s.Atim.Nsec), ModificationTime: ktime.FromUnix(s.Mtim.Sec, s.Mtim.Nsec), StatusChangeTime: ktime.FromUnix(s.Ctim.Sec, s.Ctim.Nsec), - Links: s.Nlink, + Links: uint64(s.Nlink), } } |