Browse Source

fix:deadlock

pull/4462/head
zemul 2 years ago
parent
commit
f97ddab55e
  1. 3
      weed/mount/filehandle.go

3
weed/mount/filehandle.go

@ -91,9 +91,6 @@ func (fh *FileHandle) UpdateEntry(fn func(entry *filer_pb.Entry)) *filer_pb.Entr
}
func (fh *FileHandle) AddChunks(chunks []*filer_pb.FileChunk) {
fh.entryLock.Lock()
defer fh.entryLock.Unlock()
if fh.entry == nil {
return
}

Loading…
Cancel
Save