aboutsummaryrefslogtreecommitdiffstats
path: root/net/rds
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2010-07-19 20:02:41 -0400
committerAndy Grover <andy.grover@oracle.com>2010-09-08 21:16:41 -0400
commitb4e1da3c9a0ac9b01f45a8578b7347e3a31f9fb8 (patch)
tree16f3021b21f2cbeb73a4532a91474fba9ab2a3ef /net/rds
parentf046011cd73c372267befd10242988eb744649fe (diff)
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>
Diffstat (limited to 'net/rds')
-rw-r--r--net/rds/ib_recv.c1
1 files changed, 1 insertions, 0 deletions
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
282 if (!frag) 282 if (!frag)
283 return NULL; 283 return NULL;
284 284
285 sg_init_table(&frag->f_sg, 1);
285 ret = rds_page_remainder_alloc(&frag->f_sg, 286 ret = rds_page_remainder_alloc(&frag->f_sg,
286 RDS_FRAG_SIZE, page_mask); 287 RDS_FRAG_SIZE, page_mask);
287 if (ret) { 288 if (ret) {