mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2025-01-23 13:58:24 +00:00
This reverts commit 5b487f651aad9661a6e7d206b7404ebe47c7680a.
This commit is contained in:
parent
5b487f651a
commit
0d6b02090e
@ -703,12 +703,7 @@ size_t S3fsCurl::DownloadWriteCallback(void* ptr, size_t size, size_t nmemb, voi
|
||||
}
|
||||
pCurl->partdata.startpos += totalwrite;
|
||||
pCurl->partdata.size -= totalwrite;
|
||||
|
||||
// flush the file and clean the page cache
|
||||
if (pCurl->partdata.size == 0){
|
||||
fdatasync(pCurl->partdata.fd);
|
||||
}
|
||||
|
||||
|
||||
return totalwrite;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user