Merge branch 'sglist-arch' into for-linus
[safe/jmp/linux-2.6] / drivers / block / cciss.c
index a895228..3fb7e8b 100644 (file)
@@ -2569,6 +2569,7 @@ static void do_cciss_request(struct request_queue *q)
               (int)creq->nr_sectors);
 #endif                         /* CCISS_DEBUG */
 
+       memset(tmp_sg, 0, sizeof(tmp_sg));
        seg = blk_rq_map_sg(q, creq, tmp_sg);
 
        /* get the DMA records for the setup */