mirror of https://gitee.com/openkylin/linux.git
RDS: properly use sg_init_table
This is only needed to keep debugging code from bugging. Signed-off-by: Chris Mason <chris.mason@oracle.com>
This commit is contained in:
parent
f046011cd7
commit
b4e1da3c9a
|
@ -282,6 +282,7 @@ static struct rds_page_frag *rds_ib_refill_one_frag(struct rds_ib_connection *ic
|
||||||
if (!frag)
|
if (!frag)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
|
sg_init_table(&frag->f_sg, 1);
|
||||||
ret = rds_page_remainder_alloc(&frag->f_sg,
|
ret = rds_page_remainder_alloc(&frag->f_sg,
|
||||||
RDS_FRAG_SIZE, page_mask);
|
RDS_FRAG_SIZE, page_mask);
|
||||||
if (ret) {
|
if (ret) {
|
||||||
|
|
Loading…
Reference in New Issue