[SG] Update drivers to use sg helpers
[pandora-kernel.git] / drivers / block / sunvdc.c
index 317a790..7276f7d 100644 (file)
@@ -388,6 +388,7 @@ static int __send_request(struct request *req)
                op = VD_OP_BWRITE;
        }
 
+       sg_init_table(sg, port->ring_cookies);
        nsg = blk_rq_map_sg(req->q, req, sg);
 
        len = 0;