aboutsummaryrefslogtreecommitdiff
path: root/weed/filesys/filehandle.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-03-29 21:07:55 -0700
committerChris Lu <chris.lu@gmail.com>2020-03-29 21:07:55 -0700
commit9dc0b1df8f3bb19ce01b2d520436dbdc0f2a883e (patch)
treed79bc79a897016e8266bbc4ee8140a87b3dc7129 /weed/filesys/filehandle.go
parentbe6c2f85117ce7d78ed4532cc10f84a9459f86a0 (diff)
downloadseaweedfs-9dc0b1df8f3bb19ce01b2d520436dbdc0f2a883e.tar.xz
seaweedfs-9dc0b1df8f3bb19ce01b2d520436dbdc0f2a883e.zip
refactoring to compile for windows OS1;701.70
windows os does not like to work with fuse
Diffstat (limited to 'weed/filesys/filehandle.go')
-rw-r--r--weed/filesys/filehandle.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/filesys/filehandle.go b/weed/filesys/filehandle.go
index 4897d3a08..83a93c062 100644
--- a/weed/filesys/filehandle.go
+++ b/weed/filesys/filehandle.go
@@ -92,7 +92,7 @@ func (fh *FileHandle) readFromChunks(buff []byte, offset int64) (int64, error) {
if fh.f.reader == nil {
chunkViews := filer2.ViewFromVisibleIntervals(fh.f.entryViewCache, 0, math.MaxInt32)
- fh.f.reader = NewChunkReaderAtFromClient(fh.f.wfs, chunkViews, fh.f.wfs.chunkCache)
+ fh.f.reader = filer2.NewChunkReaderAtFromClient(fh.f.wfs, chunkViews, fh.f.wfs.chunkCache)
}
totalRead, err := fh.f.reader.ReadAt(buff, offset)