projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e9d5c74
)
mtd: switch to using blk_queue_write_cache()
author
Jens Axboe
<axboe@fb.com>
Wed, 30 Mar 2016 16:17:47 +0000
(10:17 -0600)
committer
Jens Axboe
<axboe@fb.com>
Tue, 12 Apr 2016 22:00:39 +0000
(16:00 -0600)
Signed-off-by: Jens Axboe <axboe@fb.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
drivers/mtd/mtd_blkdevs.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mtd/mtd_blkdevs.c
b/drivers/mtd/mtd_blkdevs.c
index f4701182b558ecbf6ee714ea0fc24fb5d4730f3e..74ae24364a8db33e4b76e027957951e18b44aec0 100644
(file)
--- a/
drivers/mtd/mtd_blkdevs.c
+++ b/
drivers/mtd/mtd_blkdevs.c
@@
-409,7
+409,7
@@
int add_mtd_blktrans_dev(struct mtd_blktrans_dev *new)
goto error3;
if (tr->flush)
- blk_queue_
flush(new->rq, REQ_FLUSH
);
+ blk_queue_
write_cache(new->rq, true, false
);
new->rq->queuedata = new;
blk_queue_logical_block_size(new->rq, tr->blksize);