]> git.baikalelectronics.ru Git - kernel.git/commit
drbd: remove drbd_req_make_private_bio
authorChristoph Hellwig <hch@lst.de>
Tue, 26 Jan 2021 14:52:40 +0000 (15:52 +0100)
committerJens Axboe <axboe@kernel.dk>
Wed, 27 Jan 2021 16:51:48 +0000 (09:51 -0700)
commit281562158c130c37914d3fd5132adaa9d8a80016
treef4075fd35d0bd9b62062df93485d6691e0430455
parentbda10c1eb89ae49a29e38a00e42e81b8bdcf1b20
drbd: remove drbd_req_make_private_bio

Open code drbd_req_make_private_bio in the two callers to prepare
for further changes.  Also don't bother to initialize bi_next as the
bio code already does that that.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Acked-by: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/drbd/drbd_req.c
drivers/block/drbd/drbd_req.h
drivers/block/drbd/drbd_worker.c