summaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-floppy.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2015-04-17 22:37:18 +0200
committerJens Axboe <axboe@fb.com>2015-05-05 13:40:07 -0600
commitb0b93b48a30e809240ddd7449a6ad60a5ddf7b4d (patch)
tree52f9e294f03b76ab9cdbf8b48b45ca0263a7b1ce /drivers/ide/ide-floppy.c
parentb42171ef7d938a66fa52e66a3d911ed63770b5ca (diff)
downloadlinux-b0b93b48a30e809240ddd7449a6ad60a5ddf7b4d.tar.bz2
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-floppy.c')
-rw-r--r--drivers/ide/ide-floppy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/ide-floppy.c b/drivers/ide/ide-floppy.c
index 3dbfa5b6db6a..2fb5350c5410 100644
--- a/drivers/ide/ide-floppy.c
+++ b/drivers/ide/ide-floppy.c
@@ -266,7 +266,7 @@ static ide_startstop_t ide_floppy_do_request(ide_drive_t *drive,
idefloppy_create_rw_cmd(drive, pc, rq, (unsigned long)block);
break;
case REQ_TYPE_DRV_PRIV:
- case REQ_TYPE_SENSE:
+ case REQ_TYPE_ATA_SENSE:
pc = (struct ide_atapi_pc *)rq->special;
break;
case REQ_TYPE_BLOCK_PC: