commit | b4e1da3c9a0ac9b01f45a8578b7347e3a31f9fb8 | [log] [tgz] |
---|---|---|
author | Chris Mason <chris.mason@oracle.com> | Mon Jul 19 17:02:41 2010 -0700 |
committer | Andy Grover <andy.grover@oracle.com> | Wed Sep 08 18:16:41 2010 -0700 |
tree | 16f3021b21f2cbeb73a4532a91474fba9ab2a3ef | |
parent | f046011cd73c372267befd10242988eb744649fe [diff] [blame] |
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>
diff --git a/net/rds/ib_recv.c b/net/rds/ib_recv.c index f25c483..a2f5f6f 100644 --- a/net/rds/ib_recv.c +++ b/net/rds/ib_recv.c
@@ -282,6 +282,7 @@ 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) {