diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-09-24 01:48:26 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-09-24 01:48:26 +0000 |
commit | a754e69df557ac94304aa479807689a522e5db7f (patch) | |
tree | 8f7832d3d363e1bf6b65af58d4f088a74b3d0ccd /pkg/sentry/fsimpl/kernfs | |
parent | 2e9a562f8af326816add23ae93ee0cf78b807a25 (diff) | |
parent | 08bbad690764dd55e333cade340d779df93de920 (diff) |
Merge release-20200914.0-144-g08bbad690 (automated)
Diffstat (limited to 'pkg/sentry/fsimpl/kernfs')
-rw-r--r-- | pkg/sentry/fsimpl/kernfs/inode_impl_util.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/sentry/fsimpl/kernfs/inode_impl_util.go b/pkg/sentry/fsimpl/kernfs/inode_impl_util.go index ee9c2f45f..5cc196980 100644 --- a/pkg/sentry/fsimpl/kernfs/inode_impl_util.go +++ b/pkg/sentry/fsimpl/kernfs/inode_impl_util.go @@ -574,6 +574,7 @@ var _ Inode = (*StaticDirectory)(nil) func NewStaticDir(creds *auth.Credentials, devMajor, devMinor uint32, ino uint64, perm linux.FileMode, children map[string]*Dentry, fdOpts GenericDirectoryFDOptions) *Dentry { inode := &StaticDirectory{} inode.Init(creds, devMajor, devMinor, ino, perm, fdOpts) + inode.EnableLeakCheck() dentry := &Dentry{} dentry.Init(inode) |