sd: switch to using blk_queue_write_cache()
authorJens Axboe <axboe@fb.com>
Wed, 30 Mar 2016 16:06:11 +0000 (10:06 -0600)
committerJens Axboe <axboe@fb.com>
Tue, 12 Apr 2016 22:00:39 +0000 (16:00 -0600)
commiteb310e23dbafa5f4010df37f35999622af2cf795
tree3aca893c8f82251bed661d4234e47002e236087b
parent2f9a0b33ac6c4a2accaf787456080af35f1cab0b
sd: switch to using blk_queue_write_cache()

Switch to the newer interface, instead of using blk_queue_flush()
directly.

Signed-off-by: Jens Axboe <axboe@fb.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Acked-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/sd.c