summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2015-05-16 16:28:01 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2015-05-16 16:28:01 -0700
commit1630ee5e01c68ebee5e91da42a56f1865ffbfa1b (patch)
treec9f7cab3b64e321751ab5af93ec1a949bb79a0c8 /drivers
parent6a8098a447206f8d2ce3954271657b6d79911d51 (diff)
parent98fb1ffd8154890d7051750e61ff5548c3ee2ab2 (diff)
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
Diffstat (limited to 'drivers')
-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)
blk_rq_map_sg(req->q, req, pdu->usgl.sg);
ret = ubiblock_read(pdu);
+ rq_flush_dcache_pages(req);
+
blk_mq_end_request(req, ret);
}