diff options
author | Dean Deng <deandeng@google.com> | 2020-08-12 18:09:34 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-08-12 18:11:41 -0700 |
commit | 36134667b289a3e96e90abf9e18e1c2137069d6b (patch) | |
tree | 6f42a4b7c468b535badcd35ee42b368e89ab590a /pkg/refs_vfs2 | |
parent | 42b610d56750b4bb8e3d69b680e4fb538f8fb554 (diff) |
Add reference leak checking to vfs2 tmpfs.inode.
Updates #1486.
PiperOrigin-RevId: 326354750
Diffstat (limited to 'pkg/refs_vfs2')
-rw-r--r-- | pkg/refs_vfs2/refs_template.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/refs_vfs2/refs_template.go b/pkg/refs_vfs2/refs_template.go index 3e5b458c7..99c43c065 100644 --- a/pkg/refs_vfs2/refs_template.go +++ b/pkg/refs_vfs2/refs_template.go @@ -59,7 +59,7 @@ func (r *Refs) finalize() { note = "(Leak checker uninitialized): " } if n := r.ReadRefs(); n != 0 { - log.Warningf("%sAtomicRefCount %p owned by %T garbage collected with ref count of %d (want 0)", note, r, ownerType, n) + log.Warningf("%sRefs %p owned by %T garbage collected with ref count of %d (want 0)", note, r, ownerType, n) } } |