diff options
author | Christoph Hellwig <hch@lst.de> | 2015-04-17 22:37:16 +0200 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2015-05-05 21:40:03 +0200 |
commit | 4f8c9510ba71bb54477841bebb90154ef140860f (patch) | |
tree | cd9b4ceba775435e30998a9e737d2270d7f5c82d /drivers/ide/ide-io.c | |
parent | bio: skip atomic inc/dec of ->bi_cnt for most use cases (diff) | |
download | linux-4f8c9510ba71bb54477841bebb90154ef140860f.tar.xz 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-io.c')
-rw-r--r-- | drivers/ide/ide-io.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/ide/ide-io.c b/drivers/ide/ide-io.c index 177db6d5b2f5..8e55abd03a24 100644 --- a/drivers/ide/ide-io.c +++ b/drivers/ide/ide-io.c @@ -135,7 +135,7 @@ EXPORT_SYMBOL(ide_complete_rq); void ide_kill_rq(ide_drive_t *drive, struct request *rq) { - u8 drv_req = (rq->cmd_type == REQ_TYPE_SPECIAL) && rq->rq_disk; + u8 drv_req = (rq->cmd_type == REQ_TYPE_DRV_PRIV) && rq->rq_disk; u8 media = drive->media; drive->failed_pc = NULL; @@ -353,7 +353,7 @@ static ide_startstop_t start_request (ide_drive_t *drive, struct request *rq) pm->pm_step == IDE_PM_COMPLETED) ide_complete_pm_rq(drive, rq); return startstop; - } else if (!rq->rq_disk && rq->cmd_type == REQ_TYPE_SPECIAL) + } else if (!rq->rq_disk && rq->cmd_type == REQ_TYPE_DRV_PRIV) /* * TODO: Once all ULDs have been modified to * check for specific op codes rather than |