Skip to content

Commit

Permalink
Change opcode before forwarding blockop
Browse files Browse the repository at this point in the history
Signed-off-by: Mike Ponomarenko <[email protected]>
  • Loading branch information
mponomar committed Jan 31, 2025
1 parent 01fb245 commit be468d3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions db/toblock.c
Original file line number Diff line number Diff line change
Expand Up @@ -535,12 +535,12 @@ static int forward_block_to_master(struct ireq *iq, block_state_t *p_blkstate,
p_blkstate->p_buf_req_start,iq->comdbg_flags) != p_blkstate->p_buf_req_start)
return ERR_INTERNAL;
req_hdr.opcode = OP_FWD_BLOCK;
if (iq->comdbg_flags & COMDBG_FLAG_FROM_LE) {
req_hdr.opcode = OP_FWD_BLOCK_LE;
}
if (req_hdr_put(&req_hdr, iq->p_buf_out_start,
p_blkstate->p_buf_req_start) != p_blkstate->p_buf_req_start)
return ERR_INTERNAL;
if (iq->comdbg_flags & COMDBG_FLAG_FROM_LE) {
req_hdr.opcode = OP_FWD_BLOCK_LE;
}


fwd.source_node = 0;
Expand Down

0 comments on commit be468d3

Please sign in to comment.