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
Unified · Split
| @@ -310,6 +310,8 @@ static void ubiblock_do_work(struct work_struct *work) · 309 unmodified lines | ||
| 310 | 310 | blk_rq_map_sg(req->q, req, pdu->usgl.sg); |
| 311 | 311 | |
| 312 | 312 | ret = ubiblock_read(pdu); |
| 313 | + rq_flush_dcache_pages(req); | |
| 314 | + | |
| 313 | 315 | blk_mq_end_request(req, ret); |
| 314 | 316 | } |
| 315 | 317 | |