Reflect the result of the review in the code again

This commit is contained in:
Takeshi Nakatani 2022-03-05 05:47:12 +00:00 committed by Andrew Gaul
parent b0eeaa6679
commit 6f679a9e78
1 changed files with 6 additions and 0 deletions

View File

@ -61,6 +61,9 @@ void* PseudoFdInfo::MultipartUploadThreadWorker(void* arg)
if(0 < pthparam->ppseudofdinfo->instruct_count){
--(pthparam->ppseudofdinfo->instruct_count);
}else{
S3FS_PRN_ERR("Internal error: instruct_count caused an underflow.");
return (void*)(intptr_t)(-EIO);
}
++(pthparam->ppseudofdinfo->completed_count);
@ -79,6 +82,9 @@ void* PseudoFdInfo::MultipartUploadThreadWorker(void* arg)
if(0 < pthparam->ppseudofdinfo->instruct_count){
--(pthparam->ppseudofdinfo->instruct_count);
}else{
S3FS_PRN_ERR("Internal error: instruct_count caused an underflow.");
return (void*)(intptr_t)(-EIO);
}
++(pthparam->ppseudofdinfo->completed_count);