Merge pull request #64 from andrewgaul/failed-read-eio

Return EIO on failed read
This commit is contained in:
Takeshi Nakatani 2014-11-03 01:03:32 +09:00
commit 651e8c3158

View File

@ -3281,8 +3281,8 @@ int S3fsMultiCurl::MultiRead(void)
if(NULL != (retrycurl = RetryCallback(s3fscurl))){
cMap_all[retrycurl->hCurl] = retrycurl;
}else{
// do not care, but set...
isRetry = false;
// Could not set up callback.
return -EIO;
}
}
if(s3fscurl != retrycurl){