summaryrefslogtreecommitdiffhomepage
path: root/runsc
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-07-25 08:07:56 +0000
committergVisor bot <gvisor-bot@google.com>2020-07-25 08:07:56 +0000
commit9e356c75aea289e13d8e8edf21c6adc35b4ea40d (patch)
tree3b6140fa050990bd1000c21f29cbeff064c31d56 /runsc
parente99218322de9446d030475d6a2319e0acaa48490 (diff)
parentd6b676ae6ac6ab6f3520d6d2663b9d71c29a3788 (diff)
Merge release-20200622.1-223-gd6b676ae6 (automated)
Diffstat (limited to 'runsc')
-rw-r--r--runsc/fsgofer/fsgofer.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/runsc/fsgofer/fsgofer.go b/runsc/fsgofer/fsgofer.go
index 723e118e1..ebefeacf2 100644
--- a/runsc/fsgofer/fsgofer.go
+++ b/runsc/fsgofer/fsgofer.go
@@ -606,7 +606,7 @@ func (l *localFile) fillAttr(stat syscall.Stat_t) (p9.AttrMask, p9.Attr) {
Mode: p9.FileMode(stat.Mode),
UID: p9.UID(stat.Uid),
GID: p9.GID(stat.Gid),
- NLink: stat.Nlink,
+ NLink: uint64(stat.Nlink),
RDev: stat.Rdev,
Size: uint64(stat.Size),
BlockSize: uint64(stat.Blksize),