fix deadlock
All checks were successful
BlockStorage/repertory_osx_builds/pipeline/head This commit looks good
BlockStorage/repertory_linux_builds/pipeline/head This commit looks good

This commit is contained in:
2023-11-18 23:53:03 -06:00
parent ee415d2e4a
commit 983587aeb7
3 changed files with 139 additions and 125 deletions

View File

@@ -1250,6 +1250,7 @@ auto fuse_drive::truncate_impl(std::string api_path, off_t size) -> api_error {
res = open_file->resize(static_cast<std::uint64_t>(size));
}
fm_->close(handle);
return res;
}