Browse Source

tweak

pull/1158/head
Chris Lu 5 years ago
parent
commit
33da30d2b1
  1. 5
      weed/filesys/filehandle.go

5
weed/filesys/filehandle.go

@ -101,9 +101,10 @@ func (fh *FileHandle) Write(ctx context.Context, req *fuse.WriteRequest, resp *f
fh.dirtyMetadata = true fh.dirtyMetadata = true
} }
fh.f.addChunks(chunks)
if len(chunks) > 0 { if len(chunks) > 0 {
fh.f.addChunks(chunks)
fh.dirtyMetadata = true fh.dirtyMetadata = true
} }

Loading…
Cancel
Save