From c1a6e67183e13ad870d12b0a052ef2dcb00bfa1d Mon Sep 17 00:00:00 2001 From: Matthew Heon Date: Tue, 25 Aug 2020 13:02:22 -0400 Subject: Revert "HACK: Manually include c/storage #698" This reverts commit ae2ee65eff71c5780e4484f1316dbbdd87bf1760. This was a horrible hack that we did for time reasons, to get 2.0.5 out on schedule; now that it has been merged into c/storage properly we no longer need or want it. Signed-off-by: Matthew Heon --- vendor/github.com/containers/storage/drivers/counter.go | 4 ---- 1 file changed, 4 deletions(-) (limited to 'vendor/github.com') diff --git a/vendor/github.com/containers/storage/drivers/counter.go b/vendor/github.com/containers/storage/drivers/counter.go index 3fc45495b..72551a38d 100644 --- a/vendor/github.com/containers/storage/drivers/counter.go +++ b/vendor/github.com/containers/storage/drivers/counter.go @@ -51,10 +51,6 @@ func (c *RefCounter) incdec(path string, infoOp func(minfo *minfo)) int { if c.checker.IsMounted(path) { m.count++ } - } else if !c.checker.IsMounted(path) { - // if the unmount was performed outside of this process (e.g. conmon cleanup) - //the ref counter would lose track of it. Check if it is still mounted. - m.count = 0 } infoOp(m) count := m.count -- cgit v1.2.3-54-g00ecf