diff options
| author | Jens Axboe <[email protected]> | 2007-10-16 10:29:34 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2007-10-16 10:29:34 +0000 |
| commit | 3eed13fd933dbb81db12f7cdec6de9268c4443b5 (patch) | |
| tree | c16913706acffd4a0b29ec12cd68906b708c9a8a /drivers/ide/ide-io.c | |
| parent | Merge branch 'barrier' into for-linus (diff) | |
| parent | SPARC64: sg chaining support (diff) | |
| download | kernel-3eed13fd933dbb81db12f7cdec6de9268c4443b5.tar.gz kernel-3eed13fd933dbb81db12f7cdec6de9268c4443b5.zip | |
Merge branch 'sglist-arch' into for-linus
Diffstat (limited to 'drivers/ide/ide-io.c')
| -rw-r--r-- | drivers/ide/ide-io.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/ide/ide-io.c b/drivers/ide/ide-io.c index f36ff5962af6..04273d3c147c 100644 --- a/drivers/ide/ide-io.c +++ b/drivers/ide/ide-io.c @@ -846,7 +846,8 @@ void ide_init_sg_cmd(ide_drive_t *drive, struct request *rq) 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); |
