mirror of
https://github.com/s3fs-fuse/s3fs-fuse.git
synced 2024-11-10 14:50:58 +00:00
Merge pull request #1097 from ggtakec/fix_lock
Add Lock() func parameter in RowFlush()
This commit is contained in:
commit
513f41fddf
@ -1507,7 +1507,7 @@ int FdEntity::RowFlush(const char* tpath, bool force_sync)
|
||||
if(ReserveDiskSpace(restsize)){
|
||||
// enough disk space
|
||||
// Load all uninitialized area
|
||||
result = Load();
|
||||
result = Load(/*start=*/ 0, /*size=*/ 0, /*lock_already_held=*/ true);
|
||||
FdManager::FreeReservedDiskSpace(restsize);
|
||||
if(0 != result){
|
||||
S3FS_PRN_ERR("failed to upload all area(errno=%d)", result);
|
||||
|
Loading…
Reference in New Issue
Block a user