aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/blkdev.h
diff options
context:
space:
mode:
authorDavid Woodhouse <David.Woodhouse@intel.com>2008-08-13 07:35:09 -0400
committerJens Axboe <jens.axboe@oracle.com>2008-10-09 02:56:02 -0400
commit1a8e2bddd5c29008f311613e75925fecbf522c5b (patch)
treee12f30d3efd7c8f89ba89e8b21a4df17f1488c3e /include/linux/blkdev.h
parente17fc0a1ccf88f6d4dcb363729f3141b0958c325 (diff)
Kill REQ_TYPE_FLUSH
It was only used by ps3disk, and it should probably have been REQ_TYPE_LINUX_BLOCK + REQ_LB_OP_FLUSH. Signed-off-by: David Woodhouse <David.Woodhouse@intel.com> Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Diffstat (limited to 'include/linux/blkdev.h')
-rw-r--r--include/linux/blkdev.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h
index e9eb35c9bf26..f131776f029e 100644
--- a/include/linux/blkdev.h
+++ b/include/linux/blkdev.h
@@ -54,7 +54,6 @@ enum rq_cmd_type_bits {
54 REQ_TYPE_PM_SUSPEND, /* suspend request */ 54 REQ_TYPE_PM_SUSPEND, /* suspend request */
55 REQ_TYPE_PM_RESUME, /* resume request */ 55 REQ_TYPE_PM_RESUME, /* resume request */
56 REQ_TYPE_PM_SHUTDOWN, /* shutdown request */ 56 REQ_TYPE_PM_SHUTDOWN, /* shutdown request */
57 REQ_TYPE_FLUSH, /* flush request */
58 REQ_TYPE_SPECIAL, /* driver defined type */ 57 REQ_TYPE_SPECIAL, /* driver defined type */
59 REQ_TYPE_LINUX_BLOCK, /* generic block layer message */ 58 REQ_TYPE_LINUX_BLOCK, /* generic block layer message */
60 /* 59 /*
@@ -76,11 +75,8 @@ enum rq_cmd_type_bits {
76 * 75 *
77 */ 76 */
78enum { 77enum {
79 /*
80 * just examples for now
81 */
82 REQ_LB_OP_EJECT = 0x40, /* eject request */ 78 REQ_LB_OP_EJECT = 0x40, /* eject request */
83 REQ_LB_OP_FLUSH = 0x41, /* flush device */ 79 REQ_LB_OP_FLUSH = 0x41, /* flush request */
84 REQ_LB_OP_DISCARD = 0x42, /* discard sectors */ 80 REQ_LB_OP_DISCARD = 0x42, /* discard sectors */
85}; 81};
86 82