diff options
author | Fabricio Voznika <fvoznika@google.com> | 2020-02-04 11:47:41 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-02-04 11:48:36 -0800 |
commit | dcffddf0cae026411e7e678744a1e39dc2b513cf (patch) | |
tree | 69aef160d054425039e1f772e5c6b0b2654f71b5 /pkg/sentry/fsimpl/devtmpfs/devtmpfs.go | |
parent | 492229d0176c1af2ab4ea4cf91bf211e940b5b12 (diff) |
Remove argument from vfs.MountNamespace.DecRef()
Updates #1035
PiperOrigin-RevId: 293194631
Diffstat (limited to 'pkg/sentry/fsimpl/devtmpfs/devtmpfs.go')
-rw-r--r-- | pkg/sentry/fsimpl/devtmpfs/devtmpfs.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/fsimpl/devtmpfs/devtmpfs.go b/pkg/sentry/fsimpl/devtmpfs/devtmpfs.go index d36fa74fb..e03a0c665 100644 --- a/pkg/sentry/fsimpl/devtmpfs/devtmpfs.go +++ b/pkg/sentry/fsimpl/devtmpfs/devtmpfs.go @@ -86,7 +86,7 @@ func NewAccessor(ctx context.Context, vfsObj *vfs.VirtualFilesystem, creds *auth // Release must be called when a is no longer in use. func (a *Accessor) Release() { a.root.DecRef() - a.mntns.DecRef(a.vfsObj) + a.mntns.DecRef() } // accessorContext implements context.Context by extending an existing |