Fix some blockstore bugs discovered by the mocked test!

This commit is contained in:
Vitaliy Filippov
2025-12-02 01:52:12 +03:00
parent ec5e93307d
commit 615e9d1274
6 changed files with 15 additions and 12 deletions
+1 -1
View File
@@ -320,7 +320,7 @@ void blockstore_impl_t::process_list(blockstore_op_t *op)
int res = heap->list_objects(list_pg, min_inode, max_inode, &result, &stable_count, &unstable_count);
op->version = stable_count;
op->retval = res == 0 ? stable_count+unstable_count : -res;
op->buf = result;
op->buf = (uint8_t*)result;
FINISH_OP(op);
}