diff --git a/vfs/vfscache/cache.go b/vfs/vfscache/cache.go index e329bc4b0..5eecf5ed2 100644 --- a/vfs/vfscache/cache.go +++ b/vfs/vfscache/cache.go @@ -609,6 +609,7 @@ func (c *Cache) clean(removeCleanFiles bool) { if os.IsNotExist(err) { return } + c.updateUsed() c.mu.Lock() oldItems, oldUsed := len(c.item), fs.SizeSuffix(c.used) c.mu.Unlock()