Browse Source

mount: fix for UrBackup

pull/1444/head
Chris Lu 4 years ago
parent
commit
22fe4ae573
  1. 2
      weed/filesys/filehandle.go

2
weed/filesys/filehandle.go

@ -79,7 +79,7 @@ func (fh *FileHandle) Read(ctx context.Context, req *fuse.ReadRequest, resp *fus
if err != nil { if err != nil {
glog.Errorf("file handle read %s: %v", fh.f.fullpath(), err) glog.Errorf("file handle read %s: %v", fh.f.fullpath(), err)
return fuse.EIO
return nil
} }
if totalRead > int64(len(buff)) { if totalRead > int64(len(buff)) {

Loading…
Cancel
Save