Followup to mark_partial_write fix - also free subops in other branch to prevent assert on ENOSPC

This commit is contained in:
Vitaliy Filippov
2026-05-20 22:04:28 +03:00
parent 00517e2bac
commit 27be4ee2fa
+5
View File
@@ -264,6 +264,11 @@ resume_12:
{
pg.ver_override.erase(op_data->oid);
mark_partial_write(pg, cur_op);
if (op_data->subops)
{
delete[] op_data->subops;
op_data->subops = NULL;
}
pg_cancel_write_queue(pg, cur_op, op_data->oid, op_data->errcode);
return;
}