diff options
author | gVisor bot <gvisor-bot@google.com> | 2021-04-29 00:07:09 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-04-29 00:07:09 +0000 |
commit | b503e7e13a336d40b2b47ad95c17f7cd743d233c (patch) | |
tree | 3f0120b1dd9121de1ae113e7e1044ae499298834 /pkg/sentry/vfs/opath.go | |
parent | 4fdaa68e9b9c24bf08c3a9032f066cd07ba6e9b9 (diff) | |
parent | 26adb3c4747288aba2475cb403d66d68481793dc (diff) |
Merge release-20210419.0-39-g26adb3c47 (automated)
Diffstat (limited to 'pkg/sentry/vfs/opath.go')
-rw-r--r-- | pkg/sentry/vfs/opath.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/sentry/vfs/opath.go b/pkg/sentry/vfs/opath.go index 39fbac987..47848c76b 100644 --- a/pkg/sentry/vfs/opath.go +++ b/pkg/sentry/vfs/opath.go @@ -121,7 +121,7 @@ func (fd *opathFD) Stat(ctx context.Context, opts StatOptions) (linux.Statx, err Start: fd.vfsfd.vd, }) stat, err := fd.vfsfd.vd.mount.fs.impl.StatAt(ctx, rp, opts) - vfsObj.putResolvingPath(ctx, rp) + rp.Release(ctx) return stat, err } @@ -134,6 +134,6 @@ func (fd *opathFD) StatFS(ctx context.Context) (linux.Statfs, error) { Start: fd.vfsfd.vd, }) statfs, err := fd.vfsfd.vd.mount.fs.impl.StatFSAt(ctx, rp) - vfsObj.putResolvingPath(ctx, rp) + rp.Release(ctx) return statfs, err } |