summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fsimpl
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-10-03 16:45:42 +0000
committergVisor bot <gvisor-bot@google.com>2020-10-03 16:45:42 +0000
commit3491ec5ee80b3ed2037a099ccbdc8b482816fc47 (patch)
tree9806849f31ba1882c154f1154e0bfb2b35c6f572 /pkg/sentry/fsimpl
parent0c7055c40f978bd8f0ca5aa362948ad9807efe54 (diff)
parente0aaf40e397072eba7944065cf2a820318cb266b (diff)
Merge release-20200921.0-107-ge0aaf40e3 (automated)
Diffstat (limited to 'pkg/sentry/fsimpl')
-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 b75d70ae6..1a6749e53 100644
--- a/pkg/sentry/fsimpl/sys/kcov.go
+++ b/pkg/sentry/fsimpl/sys/kcov.go
@@ -104,7 +104,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.Reset()
+ fd.kcov.Clear()
}
// SetStat implements vfs.FileDescriptionImpl.SetStat.