Commit 3849e44d authored by Bart Van Assche's avatar Bart Van Assche Committed by Doug Ledford

IB/srp: Move common code into the caller

Signed-off-by: default avatarBart Van Assche <>
Cc: Christoph Hellwig <>
Cc: Sagi Grimberg <>
Cc: Laurence Oberman <>
Reviewed-by: default avatarSagi Grimberg <sai@grimberg.m>
Reviewed-by: default avatarChristoph Hellwig <>
Signed-off-by: default avatarDoug Ledford <>
parent 3b59b7a6
......@@ -1409,7 +1409,6 @@ static int srp_map_sg_fmr(struct srp_map_state *state, struct srp_rdma_ch *ch,
struct scatterlist *sg;
int i, ret;
state->desc = req->indirect_desc;
state->pages = req->map_page;
state-> = req->fmr_list;
state->fmr.end = req->fmr_list + ch->target->cmd_sg_cnt;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment