diff options
author | Christoph Hellwig <hch@lst.de> | 2018-11-10 09:30:49 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-11-10 16:03:52 +0100 |
commit | 22ce0a7ccf23d55d1fdaa2974002f8b5ae765665 (patch) | |
tree | eeec96b0413cbbfd95305acc783d7d6574f3ce42 /drivers/ide/ide-eh.c | |
parent | pd: replace ->special use with private data in the request (diff) | |
download | linux-22ce0a7ccf23d55d1fdaa2974002f8b5ae765665.tar.xz linux-22ce0a7ccf23d55d1fdaa2974002f8b5ae765665.zip |
ide: don't use req->special
Just replace it with a field of the same name in struct ide_req.
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/ide/ide-eh.c')
-rw-r--r-- | drivers/ide/ide-eh.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/ide-eh.c b/drivers/ide/ide-eh.c index 47d5f3379748..e1323e058454 100644 --- a/drivers/ide/ide-eh.c +++ b/drivers/ide/ide-eh.c @@ -125,7 +125,7 @@ ide_startstop_t ide_error(ide_drive_t *drive, const char *msg, u8 stat) /* retry only "normal" I/O: */ if (blk_rq_is_passthrough(rq)) { if (ata_taskfile_request(rq)) { - struct ide_cmd *cmd = rq->special; + struct ide_cmd *cmd = ide_req(rq)->special; if (cmd) ide_complete_cmd(drive, cmd, stat, err); |