Fix possible crash on ENOSPC during operation cancel in blockstore

This commit is contained in:
Vitaliy Filippov
2023-01-03 00:05:45 +03:00
parent a4dfa519af
commit 71d6d9f868
2 changed files with 9 additions and 2 deletions
+1
View File
@@ -193,6 +193,7 @@ void blockstore_impl_t::loop()
}
if (wr_st == 2)
{
submit_queue[op_idx] = NULL;
new_idx--;
}
if (wr_st == 0)