summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/mtd/ubi/block.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mtd/ubi/block.c b/drivers/mtd/ubi/block.c
index db2c05b6fe7f..c9eb78f10a0d 100644
--- a/drivers/mtd/ubi/block.c
+++ b/drivers/mtd/ubi/block.c
@@ -310,6 +310,8 @@ static void ubiblock_do_work(struct work_struct *work)
310 blk_rq_map_sg(req->q, req, pdu->usgl.sg); 310 blk_rq_map_sg(req->q, req, pdu->usgl.sg);
311 311
312 ret = ubiblock_read(pdu); 312 ret = ubiblock_read(pdu);
313 rq_flush_dcache_pages(req);
314
313 blk_mq_end_request(req, ret); 315 blk_mq_end_request(req, ret);
314} 316}
315 317