diff options
author | Christoph Hellwig <hch@lst.de> | 2015-04-17 22:37:16 +0200 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2015-05-05 13:40:03 -0600 |
commit | 4f8c9510ba71bb54477841bebb90154ef140860f (patch) | |
tree | cd9b4ceba775435e30998a9e737d2270d7f5c82d /drivers/ide/ide-atapi.c | |
parent | dac56212e8127dbc0bff7be35c508bc280213309 (diff) | |
download | linux-4f8c9510ba71bb54477841bebb90154ef140860f.tar.gz linux-4f8c9510ba71bb54477841bebb90154ef140860f.tar.bz2 linux-4f8c9510ba71bb54477841bebb90154ef140860f.zip |
block: rename REQ_TYPE_SPECIAL to REQ_TYPE_DRV_PRIV
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/ide/ide-atapi.c')
-rw-r--r-- | drivers/ide/ide-atapi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ide/ide-atapi.c b/drivers/ide/ide-atapi.c index fac3d9da2e07..b367300ce479 100644 --- a/drivers/ide/ide-atapi.c +++ b/drivers/ide/ide-atapi.c @@ -93,7 +93,7 @@ int ide_queue_pc_tail(ide_drive_t *drive, struct gendisk *disk, int error; rq = blk_get_request(drive->queue, READ, __GFP_WAIT); - rq->cmd_type = REQ_TYPE_SPECIAL; + rq->cmd_type = REQ_TYPE_DRV_PRIV; rq->special = (char *)pc; if (buf && bufflen) { @@ -477,7 +477,7 @@ static ide_startstop_t ide_pc_intr(ide_drive_t *drive) if (uptodate == 0) drive->failed_pc = NULL; - if (rq->cmd_type == REQ_TYPE_SPECIAL) { + if (rq->cmd_type == REQ_TYPE_DRV_PRIV) { rq->errors = 0; error = 0; } else { |