提交 b4e1da3c 编写于 作者: C Chris Mason 提交者: Andy Grover

RDS: properly use sg_init_table

This is only needed to keep debugging code from bugging.
Signed-off-by: NChris Mason <chris.mason@oracle.com>
上级 f046011c
......@@ -282,6 +282,7 @@ static struct rds_page_frag *rds_ib_refill_one_frag(struct rds_ib_connection *ic
if (!frag)
return NULL;
sg_init_table(&frag->f_sg, 1);
ret = rds_page_remainder_alloc(&frag->f_sg,
RDS_FRAG_SIZE, page_mask);
if (ret) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册