From f78bcc52290645edecc98b43d855407e045d64dd Mon Sep 17 00:00:00 2001 From: Takeshi Nakatani Date: Mon, 15 Jul 2019 01:52:29 +0000 Subject: [PATCH] Add Lock() func parameter in RowFlush() --- src/fdcache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fdcache.cpp b/src/fdcache.cpp index f9483df..b1f9ecd 100644 --- a/src/fdcache.cpp +++ b/src/fdcache.cpp @@ -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);