diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2015-05-17 02:28:01 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-05-17 02:28:01 +0300 |
commit | 1630ee5e01c68ebee5e91da42a56f1865ffbfa1b (patch) | |
tree | c9f7cab3b64e321751ab5af93ec1a949bb79a0c8 | |
parent | 6a8098a447206f8d2ce3954271657b6d79911d51 (diff) | |
parent | 98fb1ffd8154890d7051750e61ff5548c3ee2ab2 (diff) | |
download | linux-1630ee5e01c68ebee5e91da42a56f1865ffbfa1b.tar.xz |
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
-rw-r--r-- | drivers/mtd/ubi/block.c | 2 |
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); } |