]> git.baikalelectronics.ru Git - kernel.git/commit
bcache: use bio_set_dev to assign ->bi_bdev
authorChristoph Hellwig <hch@lst.de>
Tue, 26 Jan 2021 14:33:07 +0000 (15:33 +0100)
committerJens Axboe <axboe@kernel.dk>
Tue, 26 Jan 2021 15:50:01 +0000 (08:50 -0700)
commit8467d5e59d8a055dca95c489806839d246206f87
tree1ae6f249f641bab1516d0de9a6fb5896e0cd2760
parentb03b509450a7b33a1188865dada57da0f7ba9994
bcache: use bio_set_dev to assign ->bi_bdev

Always use the bio_set_dev helper to assign ->bi_bdev to make sure
other state related to the device is uptodate.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/md/bcache/debug.c