aboutsummaryrefslogtreecommitdiffstats
path: root/block/ll_rw_blk.c
diff options
context:
space:
mode:
Diffstat (limited to 'block/ll_rw_blk.c')
-rw-r--r--block/ll_rw_blk.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/block/ll_rw_blk.c b/block/ll_rw_blk.c
index e3980ec747c1..57992ae511c2 100644
--- a/block/ll_rw_blk.c
+++ b/block/ll_rw_blk.c
@@ -2884,6 +2884,8 @@ static void init_request_from_bio(struct request *req, struct bio *bio)
2884 2884
2885 if (bio_sync(bio)) 2885 if (bio_sync(bio))
2886 req->cmd_flags |= REQ_RW_SYNC; 2886 req->cmd_flags |= REQ_RW_SYNC;
2887 if (bio_rw_meta(bio))
2888 req->cmd_flags |= REQ_RW_META;
2887 2889
2888 req->errors = 0; 2890 req->errors = 0;
2889 req->hard_sector = req->sector = bio->bi_sector; 2891 req->hard_sector = req->sector = bio->bi_sector;