From b2a171632bde65c6ff3e668245b2461ce6b44ced Mon Sep 17 00:00:00 2001 From: chrislu Date: Sun, 18 Sep 2022 21:42:13 -0700 Subject: [PATCH] mount: fix 0 file size in linux --- weed/filer/entry.go | 1 + 1 file changed, 1 insertion(+) diff --git a/weed/filer/entry.go b/weed/filer/entry.go index eae6624d6..8c28c8513 100644 --- a/weed/filer/entry.go +++ b/weed/filer/entry.go @@ -109,6 +109,7 @@ func FromPbEntryToExistingEntry(message *filer_pb.Entry, fsEntry *Entry) { fsEntry.Content = message.Content fsEntry.Remote = message.RemoteEntry fsEntry.Quota = message.Quota + fsEntry.FileSize = FileSize(message) } func (entry *Entry) ToProtoFullEntry() *filer_pb.FullEntry {