From: Chris Mason Date: Tue, 20 Jul 2010 00:02:41 +0000 (-0700) Subject: RDS: properly use sg_init_table X-Git-Tag: MMI-PSA29.97-13-9~21994^2~499^2~13 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b4e1da3c9a0ac9b01f45a8578b7347e3a31f9fb8;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git RDS: properly use sg_init_table This is only needed to keep debugging code from bugging. Signed-off-by: Chris Mason --- diff --git a/net/rds/ib_recv.c b/net/rds/ib_recv.c index f25c4837d2f6..a2f5f6faf35c 100644 --- a/net/rds/ib_recv.c +++ b/net/rds/ib_recv.c @@ -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) {