diff options
Diffstat (limited to 'weed/mount/filehandle.go')
| -rw-r--r-- | weed/mount/filehandle.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/weed/mount/filehandle.go b/weed/mount/filehandle.go index b6ec3d2da..b7c0ca255 100644 --- a/weed/mount/filehandle.go +++ b/weed/mount/filehandle.go @@ -71,8 +71,8 @@ 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() + //fh.entryLock.Lock() + //defer fh.entryLock.Unlock() if fh.entry == nil { return |
