diff options
author | Christoph Hellwig <hch@lst.de> | 2015-04-17 22:37:18 +0200 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2015-05-05 21:40:07 +0200 |
commit | b0b93b48a30e809240ddd7449a6ad60a5ddf7b4d (patch) | |
tree | 52f9e294f03b76ab9cdbf8b48b45ca0263a7b1ce /drivers/ide/ide-tape.c | |
parent | block: move REQ_TYPE_ATA_TASKFILE and REQ_TYPE_ATA_PC to ide.h (diff) | |
download | linux-b0b93b48a30e809240ddd7449a6ad60a5ddf7b4d.tar.xz linux-b0b93b48a30e809240ddd7449a6ad60a5ddf7b4d.zip |
block: move REQ_TYPE_SENSE to the ide driver
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/ide/ide-tape.c')
-rw-r--r-- | drivers/ide/ide-tape.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/ide-tape.c b/drivers/ide/ide-tape.c index 2a5d543db9f5..f5d51d1d09ee 100644 --- a/drivers/ide/ide-tape.c +++ b/drivers/ide/ide-tape.c @@ -577,7 +577,7 @@ static ide_startstop_t idetape_do_request(ide_drive_t *drive, blk_rq_sectors(rq)); BUG_ON(!(rq->cmd_type == REQ_TYPE_DRV_PRIV || - rq->cmd_type == REQ_TYPE_SENSE)); + rq->cmd_type == REQ_TYPE_ATA_SENSE)); /* Retry a failed packet command */ if (drive->failed_pc && drive->pc->c[0] == REQUEST_SENSE) { |