diff options
author | gVisor bot <gvisor-bot@google.com> | 2019-10-29 11:27:57 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-10-29 11:27:57 -0700 |
commit | 8b04e2dd8bb1afddf88c7f68949364b66afb8df5 (patch) | |
tree | bb949157f958d873394f2d5d84a0bbdf2f0ed9d7 /runsc | |
parent | 41e2df1bdee527eccdc4622ef2013201afc8e2cc (diff) | |
parent | dec831b4939a6332cac5d186a604ff2cbbcaf7af (diff) |
Merge pull request #1087 from xiaobo55x:fstat_Nlink
PiperOrigin-RevId: 277324979
Diffstat (limited to 'runsc')
-rw-r--r-- | runsc/fsgofer/fsgofer.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runsc/fsgofer/fsgofer.go b/runsc/fsgofer/fsgofer.go index 3fceecb3d..18b853e2e 100644 --- a/runsc/fsgofer/fsgofer.go +++ b/runsc/fsgofer/fsgofer.go @@ -601,7 +601,7 @@ func (l *localFile) GetAttr(_ p9.AttrMask) (p9.QID, p9.AttrMask, p9.Attr, error) 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), |