mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-02-12 06:42:12 +00:00
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>
This commit is contained in:
parent
e4025f6c21
commit
10732f5661
@ -946,7 +946,6 @@ void blk_insert_request(struct request_queue *q, struct request *rq,
|
|||||||
* barrier
|
* barrier
|
||||||
*/
|
*/
|
||||||
rq->cmd_type = REQ_TYPE_SPECIAL;
|
rq->cmd_type = REQ_TYPE_SPECIAL;
|
||||||
rq->cmd_flags |= REQ_SOFTBARRIER;
|
|
||||||
|
|
||||||
rq->special = data;
|
rq->special = data;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user