mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2025-01-03 13:07:24 +00:00
Reflect the result of the review in the code again
This commit is contained in:
parent
b0eeaa6679
commit
6f679a9e78
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user