]> www.infradead.org Git - users/hch/block.git/commit
blk-wbt: use the write cache flag from the queue bdi-cleanup
authorChristoph Hellwig <hch@lst.de>
Fri, 17 Jul 2020 10:03:49 +0000 (12:03 +0200)
committerChristoph Hellwig <hch@lst.de>
Fri, 17 Jul 2020 12:21:15 +0000 (14:21 +0200)
commit1c200b15b752eecf9ed92caea59972ae01068732
tree930073b0a4725bdc94407e75fd657b5381aa0ca5
parent1172970cfc31237beffe75faf0309beb125af717
blk-wbt: use the write cache flag from the queue

There is no good reason to duplicate the write cache information, given
that the queue is easily available and used in other places close to
this code.

Signed-off-by: Christoph Hellwig <hch@lst.de>
block/blk-settings.c
block/blk-wbt.c
block/blk-wbt.h