diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-08-26 19:33:46 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-08-26 19:33:46 +0000 |
commit | 821e23d65cde88a75af72b889bf7dfa61a40b3a3 (patch) | |
tree | 314f87457d9a364dd6506b27a87ad87a11031efb /pkg/sentry/fsimpl/overlay | |
parent | 1e9046264913b0ba4c6232f9063adc81984fef7a (diff) | |
parent | 366f1a8f16077da16df6dfdb411f3b7fb2493a0d (diff) |
Merge release-20200818.0-60-g366f1a8f1 (automated)
Diffstat (limited to 'pkg/sentry/fsimpl/overlay')
-rw-r--r-- | pkg/sentry/fsimpl/overlay/non_directory.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/pkg/sentry/fsimpl/overlay/non_directory.go b/pkg/sentry/fsimpl/overlay/non_directory.go index d3060a481..268b32537 100644 --- a/pkg/sentry/fsimpl/overlay/non_directory.go +++ b/pkg/sentry/fsimpl/overlay/non_directory.go @@ -121,7 +121,6 @@ func (fd *nonDirectoryFD) OnClose(ctx context.Context) error { fd.cachedFlags = statusFlags } wrappedFD := fd.cachedFD - defer wrappedFD.IncRef() fd.mu.Unlock() return wrappedFD.OnClose(ctx) } |