]> Sergey Matveev's repositories - btrtrc.git/blobdiff - fs/file_handle.go
Fixes for storage tests on Windows
[btrtrc.git] / fs / file_handle.go
index 64aeebef9a2dc5604a46f78b0aae3c3c2c3195fb..7c275c276fa785360b7d9a60c08a04a3a1ec29f4 100644 (file)
@@ -4,9 +4,9 @@ import (
        "context"
        "io"
 
-       "bazil.org/fuse"
-       "bazil.org/fuse/fs"
-       "github.com/anacrolix/missinggo"
+       "github.com/anacrolix/fuse"
+       "github.com/anacrolix/fuse/fs"
+       "github.com/anacrolix/missinggo/v2"
 
        "github.com/anacrolix/torrent"
 )
@@ -46,7 +46,7 @@ func (me fileHandle) Read(ctx context.Context, req *fuse.ReadRequest, resp *fuse
                me.fn.FS.mu.Unlock()
                var n int
                r := missinggo.ContextedReader{r, ctx}
-               //log.Printf("reading %v bytes at %v", len(resp.Data), req.Offset)
+               // log.Printf("reading %v bytes at %v", len(resp.Data), req.Offset)
                if true {
                        // A user reported on that on freebsd 12.2, the system requires that reads are
                        // completely filled. Their system only asks for 64KiB at a time. I've seen systems that