diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2008-07-15 15:21:50 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-07-15 15:21:50 -0400 |
commit | 7e12ca11d65f4cb29ed58ea3948f8c5d4f57b35e (patch) | |
tree | 425d4b7dcb1ed97def498cb0f5dc28d57bf2ac9e /drivers/scsi/ide-scsi.c | |
parent | ff07488346702f554aaeb6aae982540aa0302373 (diff) |
ide-scsi: replace ide_do_drive_cmd with blk_execute_rq_nowait
All the callers of ide_do_drive_cmd() except for ide-scsi use
ide_preempt action argument. This converts ide-scsi to use
blk_execute_rq_nowait instead of ide_do_drive_cmd so that we can
remove the action argument in ide_do_drive_cmd and ide_action_t
typedef.
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Cc: Borislav Petkov <petkovbb@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/scsi/ide-scsi.c')
-rw-r--r-- | drivers/scsi/ide-scsi.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/scsi/ide-scsi.c b/drivers/scsi/ide-scsi.c index d7fd5e550a25..58e30efe7a74 100644 --- a/drivers/scsi/ide-scsi.c +++ b/drivers/scsi/ide-scsi.c | |||
@@ -790,8 +790,7 @@ static int idescsi_queue (struct scsi_cmnd *cmd, | |||
790 | rq->special = (char *) pc; | 790 | rq->special = (char *) pc; |
791 | rq->cmd_type = REQ_TYPE_SPECIAL; | 791 | rq->cmd_type = REQ_TYPE_SPECIAL; |
792 | spin_unlock_irq(host->host_lock); | 792 | spin_unlock_irq(host->host_lock); |
793 | rq->rq_disk = scsi->disk; | 793 | blk_execute_rq_nowait(drive->queue, scsi->disk, rq, 0, NULL); |
794 | (void) ide_do_drive_cmd (drive, rq, ide_end); | ||
795 | spin_lock_irq(host->host_lock); | 794 | spin_lock_irq(host->host_lock); |
796 | return 0; | 795 | return 0; |
797 | abort: | 796 | abort: |