aboutsummaryrefslogtreecommitdiffstats
path: root/block/blk-core.c
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2009-04-22 22:05:18 -0400
committerJens Axboe <jens.axboe@oracle.com>2009-04-28 01:37:34 -0400
commit10732f5661fb7adf62e20733b0030fc0fc93b0c4 (patch)
tree4d3792fd76624671503513e727bd5de6bcaa2450 /block/blk-core.c
parente4025f6c21f1389696c069be2dc647f364925c45 (diff)
block: cleanup REQ_SOFTBARRIER usages
blk_insert_request() doesn't need to worry about REQ_SOFTBARRIER. Don't set it. Combined with recent ide updates, REQ_SOFTBARRIER is now only used in elevator proper and for discard requests. [ Impact: cleanup ] Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'block/blk-core.c')
-rw-r--r--block/blk-core.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/block/blk-core.c b/block/blk-core.c
index 7e0fab53e930..cf10dfcda99d 100644
--- a/block/blk-core.c
+++ b/block/blk-core.c
@@ -946,7 +946,6 @@ void blk_insert_request(struct request_queue *q, struct request *rq,
946 * barrier 946 * barrier
947 */ 947 */
948 rq->cmd_type = REQ_TYPE_SPECIAL; 948 rq->cmd_type = REQ_TYPE_SPECIAL;
949 rq->cmd_flags |= REQ_SOFTBARRIER;
950 949
951 rq->special = data; 950 rq->special = data;
952 951