aboutsummaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
Diffstat (limited to 'block')
-rw-r--r--block/blk-core.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/block/blk-core.c b/block/blk-core.c
index 3688abff2430..43fdedc524ee 100644
--- a/block/blk-core.c
+++ b/block/blk-core.c
@@ -1123,8 +1123,6 @@ void init_request_from_bio(struct request *req, struct bio *bio)
1123 1123
1124 if (bio_sync(bio)) 1124 if (bio_sync(bio))
1125 req->cmd_flags |= REQ_RW_SYNC; 1125 req->cmd_flags |= REQ_RW_SYNC;
1126 if (bio_unplug(bio))
1127 req->cmd_flags |= REQ_UNPLUG;
1128 if (bio_rw_meta(bio)) 1126 if (bio_rw_meta(bio))
1129 req->cmd_flags |= REQ_RW_META; 1127 req->cmd_flags |= REQ_RW_META;
1130 if (bio_noidle(bio)) 1128 if (bio_noidle(bio))