summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fsimpl/gofer
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-04-25 01:26:51 +0000
committergVisor bot <gvisor-bot@google.com>2020-04-25 01:26:51 +0000
commitc7f9505a1c5be69cb2e3716eb7f0deddf9abe621 (patch)
tree4be35610c6b0e5cc32451d67e9ee39bedbcafdf1 /pkg/sentry/fsimpl/gofer
parent8239253b718d0c94976d8accac51a388d411cdb0 (diff)
parent15a822a1936e295cb6418df7ddf445d8500dfb2e (diff)
Merge release-20200323.0-248-g15a822a (automated)
Diffstat (limited to 'pkg/sentry/fsimpl/gofer')
-rwxr-xr-xpkg/sentry/fsimpl/gofer/directory.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/sentry/fsimpl/gofer/directory.go b/pkg/sentry/fsimpl/gofer/directory.go
index c67766ab2..55f9ed911 100755
--- a/pkg/sentry/fsimpl/gofer/directory.go
+++ b/pkg/sentry/fsimpl/gofer/directory.go
@@ -75,6 +75,7 @@ func (d *dentry) createSyntheticDirectoryLocked(name string, mode linux.FileMode
handle: handle{
fd: -1,
},
+ nlink: uint32(2),
}
d2.pf.dentry = d2
d2.vfsd.Init(d2)