diff options
author | gVisor bot <gvisor-bot@google.com> | 2019-11-26 02:14:18 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2019-11-26 02:14:18 +0000 |
commit | 9eb662f6bf2fb48eb9631002a1c8b5203dc455c7 (patch) | |
tree | 7f47a9ab12148edf3343f70b9c0fc18298c5915f /pkg/sentry/vfs/vfs.go | |
parent | 11b3c62c47beed4fd8f40177d06f3252fc641a08 (diff) | |
parent | b72e1b3c0873ea29d031db42e39ca053923eecff (diff) |
Merge release-20191114.0-35-gb72e1b3 (automated)
Diffstat (limited to 'pkg/sentry/vfs/vfs.go')
-rwxr-xr-x | pkg/sentry/vfs/vfs.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkg/sentry/vfs/vfs.go b/pkg/sentry/vfs/vfs.go index 88e865d86..f0cd3ffe5 100755 --- a/pkg/sentry/vfs/vfs.go +++ b/pkg/sentry/vfs/vfs.go @@ -116,15 +116,15 @@ func (vd VirtualDentry) Ok() bool { // IncRef increments the reference counts on the Mount and Dentry represented // by vd. func (vd VirtualDentry) IncRef() { - vd.mount.incRef() - vd.dentry.incRef(vd.mount.fs) + vd.mount.IncRef() + vd.dentry.IncRef() } // DecRef decrements the reference counts on the Mount and Dentry represented // by vd. func (vd VirtualDentry) DecRef() { - vd.dentry.decRef(vd.mount.fs) - vd.mount.decRef() + vd.dentry.DecRef() + vd.mount.DecRef() } // Mount returns the Mount associated with vd. It does not take a reference on |