Skip to content

Commit 18b1d8d

Browse files
committed
Fix missing CompleteWork() for cancelled OP_LOCKING
1 parent df452a9 commit 18b1d8d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

worker.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1606,6 +1606,7 @@ DWORD ChunkDiskWorker::LockingChunk(const u64 chunk_idx)
16061606
{
16071607
PostUnlockChunk(state, chunk_idx);
16081608
ReportOpResult(state, state.ovl.Internal);
1609+
CompleteWork(state.owner);
16091610
return ERROR_SUCCESS;
16101611
}
16111612
if ((++state.ovl.InternalHigh) != GetWorkers(service_.storage_unit).size()) return ERROR_SUCCESS;

0 commit comments

Comments
 (0)