mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2024-09-28 17:29:02 +00:00
Strictly reviewed the exclusive control of PseudoFdInfo class(additional change)
This commit is contained in:
parent
f6d7ff1084
commit
5ab1037094
@ -145,7 +145,9 @@ PseudoFdInfo::~PseudoFdInfo()
|
|||||||
|
|
||||||
bool PseudoFdInfo::Clear()
|
bool PseudoFdInfo::Clear()
|
||||||
{
|
{
|
||||||
CancelAllThreads();
|
if(!CancelAllThreads() || !ResetUploadInfo(AutoLock::NONE)){
|
||||||
|
return false;
|
||||||
|
}
|
||||||
CloseUploadFd();
|
CloseUploadFd();
|
||||||
|
|
||||||
if(-1 != pseudo_fd){
|
if(-1 != pseudo_fd){
|
||||||
|
Loading…
Reference in New Issue
Block a user