block: rename REQ_TYPE_SPECIAL to REQ_TYPE_DRV_PRIV
[firefly-linux-kernel-4.4.55.git] / drivers / ide / ide-tape.c
index 6eb738ca6d2f353717aac1e63bade383f763afa5..2a5d543db9f5119d51e8b1975ac2a2db45a02038 100644 (file)
@@ -576,7 +576,7 @@ static ide_startstop_t idetape_do_request(ide_drive_t *drive,
                      rq->cmd[0], (unsigned long long)blk_rq_pos(rq),
                      blk_rq_sectors(rq));
 
-       BUG_ON(!(rq->cmd_type == REQ_TYPE_SPECIAL ||
+       BUG_ON(!(rq->cmd_type == REQ_TYPE_DRV_PRIV ||
                 rq->cmd_type == REQ_TYPE_SENSE));
 
        /* Retry a failed packet command */
@@ -853,7 +853,7 @@ static int idetape_queue_rw_tail(ide_drive_t *drive, int cmd, int size)
        BUG_ON(size < 0 || size % tape->blk_size);
 
        rq = blk_get_request(drive->queue, READ, __GFP_WAIT);
-       rq->cmd_type = REQ_TYPE_SPECIAL;
+       rq->cmd_type = REQ_TYPE_DRV_PRIV;
        rq->cmd[13] = cmd;
        rq->rq_disk = tape->disk;
        rq->__sector = tape->first_frame;