Browse Source

mount: fix 0 file size in linux

pull/3719/head
chrislu 2 years ago
parent
commit
b2a171632b
  1. 1
      weed/filer/entry.go

1
weed/filer/entry.go

@ -109,6 +109,7 @@ func FromPbEntryToExistingEntry(message *filer_pb.Entry, fsEntry *Entry) {
fsEntry.Content = message.Content fsEntry.Content = message.Content
fsEntry.Remote = message.RemoteEntry fsEntry.Remote = message.RemoteEntry
fsEntry.Quota = message.Quota fsEntry.Quota = message.Quota
fsEntry.FileSize = FileSize(message)
} }
func (entry *Entry) ToProtoFullEntry() *filer_pb.FullEntry { func (entry *Entry) ToProtoFullEntry() *filer_pb.FullEntry {

Loading…
Cancel
Save