commit | 55c16a70041ba55e235c5944dccb9c1de0dd3ca6 | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Wed Jul 25 08:13:56 2007 +0200 |
committer | Jens Axboe <jens.axboe@oracle.com> | Tue Oct 16 11:21:00 2007 +0200 |
tree | e48c1d9943fc52329cae1656ca59d24751dd9b98 | |
parent | ba2da2f8d61a9d2e24754c6311a4ab6a5e70060a [diff] [blame] |
IDE: sg chaining support Acked-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/drivers/ide/ide-io.c b/drivers/ide/ide-io.c index f36ff59..04273d3 100644 --- a/drivers/ide/ide-io.c +++ b/drivers/ide/ide-io.c
@@ -846,7 +846,8 @@ ide_hwif_t *hwif = drive->hwif; hwif->nsect = hwif->nleft = rq->nr_sectors; - hwif->cursg = hwif->cursg_ofs = 0; + hwif->cursg_ofs = 0; + hwif->cursg = NULL; } EXPORT_SYMBOL_GPL(ide_init_sg_cmd);