]> git.baikalelectronics.ru Git - kernel.git/commit
drbd: set ->bi_bdev in drbd_req_new
authorChristoph Hellwig <hch@lst.de>
Wed, 2 Feb 2022 16:00:57 +0000 (17:00 +0100)
committerJens Axboe <axboe@kernel.dk>
Fri, 4 Feb 2022 14:43:17 +0000 (07:43 -0700)
commit571901cc61bea8df3593bbc03fe896f3b20e8581
tree7466cef8aeab1e0e922b6a021a642f6379556cb1
parent9310c423f7c0b30c0f596ead67e8183533fd66a6
drbd: set ->bi_bdev in drbd_req_new

Make sure the newly allocated bio has the correct bi_bdev set from the
start.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Mike Snitzer <snitzer@redhat.com>
Link: https://lore.kernel.org/r/20220202160109.108149-2-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/drbd/drbd_req.c