summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fsimpl/sys
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-10-20 01:12:45 +0000
committergVisor bot <gvisor-bot@google.com>2020-10-20 01:12:45 +0000
commit1c366e13a42f99645bf726b0be211d496e1169c2 (patch)
tree7966a731987c4dc85bcf0045ffc61b82911962c1 /pkg/sentry/fsimpl/sys
parentea6b49bd381240d9131547ea27a56d7ea29ec772 (diff)
parentdcc1b71f1ba47646808f61cc86e560179c233af2 (diff)
Merge release-20201005.0-107-gdcc1b71f1 (automated)
Diffstat (limited to 'pkg/sentry/fsimpl/sys')
-rw-r--r--pkg/sentry/fsimpl/sys/kcov.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/sentry/fsimpl/sys/kcov.go b/pkg/sentry/fsimpl/sys/kcov.go
index 94366d429..31a361029 100644
--- a/pkg/sentry/fsimpl/sys/kcov.go
+++ b/pkg/sentry/fsimpl/sys/kcov.go
@@ -102,7 +102,7 @@ func (fd *kcovFD) ConfigureMMap(ctx context.Context, opts *memmap.MMapOpts) erro
func (fd *kcovFD) Release(ctx context.Context) {
// kcov instances have reference counts in Linux, but this seems sufficient
// for our purposes.
- fd.kcov.Clear()
+ fd.kcov.Clear(ctx)
}
// SetStat implements vfs.FileDescriptionImpl.SetStat.