mount: fix for UrBackup
This commit is contained in:
@@ -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)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user