summaryrefslogtreecommitdiff
path: root/drivers/scsi/ide-scsi.c
diff options
context:
space:
mode:
authorJens Axboe <jens.axboe@oracle.com>2007-10-17 13:02:33 +0200
committerJens Axboe <jens.axboe@oracle.com>2007-10-17 13:02:33 +0200
commit60573b874b03d22678614ca1e73f6b15c1b53b40 (patch)
treeeab565cf0b353bcdf7eafb47c5e798318c7c54fd /drivers/scsi/ide-scsi.c
parentbdb02504f473be6a785741093913ea2acd05626f (diff)
[BLOCK] Clear sg entry before filling in blk_rq_map_sg()
The memset() of the sg entry was originally removed, because it could overwrite a chain pointer. But it's quite OK to memset() it when we know it's a valid entry, since it can't contain a chain pointer. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'drivers/scsi/ide-scsi.c')
0 files changed, 0 insertions, 0 deletions