Skip to content
Snippets Groups Projects
Commit c73c11f0 authored by Ali Mohammed's avatar Ali Mohammed
Browse files

mstro_transport_execute notices distributed cdos and correctly calculate its data length

parent 51f2dcea
Branches
Tags
No related merge requests found
......@@ -389,7 +389,6 @@ mstro_transport_execute(
return MSTRO_FAIL;
}
if (ticket->data_size == 0) {
DEBUG("0-transport\n");
} else if ((src_size != ticket->data_size) && (!is_distributed)) {
......@@ -472,6 +471,13 @@ mstro_transport_execute(
ERR("Failed to adjust space of CDO destination handle\n");
return s;
}
/* free up allocated layout objects*/
if(src_layout) {
mmb_layout_destroy(src_layout);
}
if(dst_layout) {
mmb_layout_destroy(dst_layout);
}
mstro_status (*f)(mstro_cdo src, Mstro__Pool__TransferTicket *t)
= g_transport_registry[ticket->method].dst_func;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment