From c09ac6ee73cc71ef08a2c2b9daacce8d35c65a63 Mon Sep 17 00:00:00 2001 From: Sydonian <794346190@qq.com> Date: Wed, 16 Apr 2025 16:36:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B8=85=E7=90=86=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/internal/mount/vfs/cache/cache.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/client/internal/mount/vfs/cache/cache.go b/client/internal/mount/vfs/cache/cache.go index 5fdf440..b519232 100644 --- a/client/internal/mount/vfs/cache/cache.go +++ b/client/internal/mount/vfs/cache/cache.go @@ -552,8 +552,7 @@ func (c *Cache) visitNode(path []string, node *trie.Node[*CacheFile], ch *CacheF shouldUpload = false } - // 没有通过锁去读取Size,因为这里要求没那么严格 - if !c.syncFilter.ShouldSync(ch.pathComps, ch.info.Size) { + if !c.syncFilter.ShouldSync(ch.pathComps, info.Size) { shouldUpload = false }