summaryrefslogtreecommitdiffstats
path: root/drivers/block/cciss.c
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2007-10-16 12:29:34 +0200
committerJens Axboe <jens.axboe@oracle.com>2007-10-16 12:29:34 +0200
commit3eed13fd933dbb81db12f7cdec6de9268c4443b5 (patch)
treec16913706acffd4a0b29ec12cd68906b708c9a8a /drivers/block/cciss.c
parentMerge branch 'barrier' into for-linus (diff)
parentSPARC64: sg chaining support (diff)
downloadlinux-3eed13fd933dbb81db12f7cdec6de9268c4443b5.tar.xz
linux-3eed13fd933dbb81db12f7cdec6de9268c4443b5.zip
Merge branch 'sglist-arch' into for-linus
Diffstat (limited to 'drivers/block/cciss.c')
-rw-r--r--drivers/block/cciss.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/block/cciss.c b/drivers/block/cciss.c
index a895228f3d70..3fb7e8bc436d 100644
--- a/drivers/block/cciss.c
+++ b/drivers/block/cciss.c
@@ -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 */