Commit a89f5c89 authored by FUJITA Tomonori's avatar FUJITA Tomonori Committed by Jens Axboe

block: remove unused REQ_TYPE_LINUX_BLOCK

Nobody uses REQ_TYPE_LINUX_BLOCK (and its REQ_LB_OP_*).
Signed-off-by: default avatarFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Acked-by: default avatarJeff Garzik <jgarzik@redhat.com>
Signed-off-by: default avatarJens Axboe <jaxboe@fusionio.com>
parent 82b6d57f
...@@ -60,7 +60,6 @@ enum rq_cmd_type_bits { ...@@ -60,7 +60,6 @@ enum rq_cmd_type_bits {
REQ_TYPE_PM_RESUME, /* resume request */ REQ_TYPE_PM_RESUME, /* resume request */
REQ_TYPE_PM_SHUTDOWN, /* shutdown request */ REQ_TYPE_PM_SHUTDOWN, /* shutdown request */
REQ_TYPE_SPECIAL, /* driver defined type */ REQ_TYPE_SPECIAL, /* driver defined type */
REQ_TYPE_LINUX_BLOCK, /* generic block layer message */
/* /*
* for ATA/ATAPI devices. this really doesn't belong here, ide should * for ATA/ATAPI devices. this really doesn't belong here, ide should
* use REQ_TYPE_SPECIAL and use rq->cmd[0] with the range of driver * use REQ_TYPE_SPECIAL and use rq->cmd[0] with the range of driver
...@@ -70,20 +69,6 @@ enum rq_cmd_type_bits { ...@@ -70,20 +69,6 @@ enum rq_cmd_type_bits {
REQ_TYPE_ATA_PC, REQ_TYPE_ATA_PC,
}; };
/*
* For request of type REQ_TYPE_LINUX_BLOCK, rq->cmd[0] is the opcode being
* sent down (similar to how REQ_TYPE_BLOCK_PC means that ->cmd[] holds a
* SCSI cdb.
*
* 0x00 -> 0x3f are driver private, to be used for whatever purpose they need,
* typically to differentiate REQ_TYPE_SPECIAL requests.
*
*/
enum {
REQ_LB_OP_EJECT = 0x40, /* eject request */
REQ_LB_OP_FLUSH = 0x41, /* flush request */
};
#define BLK_MAX_CDB 16 #define BLK_MAX_CDB 16
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment