mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 11:41:38 -04:00
osdblk: switch to using blk_queue_write_cache()
Signed-off-by: Jens Axboe <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]>
This commit is contained in:
parent
aafb1eecbb
commit
177febc843
1 changed files with 1 additions and 1 deletions
|
|
@ -437,7 +437,7 @@ static int osdblk_init_disk(struct osdblk_device *osdev)
|
|||
blk_queue_stack_limits(q, osd_request_queue(osdev->osd));
|
||||
|
||||
blk_queue_prep_rq(q, blk_queue_start_tag);
|
||||
blk_queue_flush(q, REQ_FLUSH);
|
||||
blk_queue_write_cache(q, true, false);
|
||||
|
||||
disk->queue = q;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue