summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fsimpl/fuse
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-09-24 01:48:26 +0000
committergVisor bot <gvisor-bot@google.com>2020-09-24 01:48:26 +0000
commita754e69df557ac94304aa479807689a522e5db7f (patch)
tree8f7832d3d363e1bf6b65af58d4f088a74b3d0ccd /pkg/sentry/fsimpl/fuse
parent2e9a562f8af326816add23ae93ee0cf78b807a25 (diff)
parent08bbad690764dd55e333cade340d779df93de920 (diff)
Merge release-20200914.0-144-g08bbad690 (automated)
Diffstat (limited to 'pkg/sentry/fsimpl/fuse')
-rw-r--r--pkg/sentry/fsimpl/fuse/fusefs.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/sentry/fsimpl/fuse/fusefs.go b/pkg/sentry/fsimpl/fuse/fusefs.go
index 4178436dd..1d42a51f4 100644
--- a/pkg/sentry/fsimpl/fuse/fusefs.go
+++ b/pkg/sentry/fsimpl/fuse/fusefs.go
@@ -280,6 +280,7 @@ func (fs *filesystem) newRootInode(creds *auth.Credentials, mode linux.FileMode)
i := &inode{fs: fs}
i.InodeAttrs.Init(creds, linux.UNNAMED_MAJOR, fs.devMinor, 1, linux.ModeDirectory|0755)
i.OrderedChildren.Init(kernfs.OrderedChildrenOptions{})
+ i.EnableLeakCheck()
i.dentry.Init(i)
i.nodeID = 1