History

Merge tag 'upstream-4.1-rc4' of git://git.infradead.org/linux-ubifs

Pull UBI bufix from Richard Weinberger: "This contains a single bug fix for the UBI block driver" * tag 'upstream-4.1-rc4' of git://git.infradead.org/linux-ubifs: UBI: block: Add missing cache flushes

Linus Torvalds committed 11 years ago

Commit 1630ee52 parents 6a8098a 98fb1ff1 file · +2 −0Browse files

Unified · Split

drivers/mtd/ubi/block.c+2−0
@@ -310,6 +310,8 @@ static void ubiblock_do_work(struct work_struct *work) · 309 unmodified lines
310310 blk_rq_map_sg(req->q, req, pdu->usgl.sg);
311311
312312 ret = ubiblock_read(pdu);
313+ rq_flush_dcache_pages(req);
314+
313315 blk_mq_end_request(req, ret);
314316 }
315317