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

Given that drbd_md_io_bio_set is initialized during module initialization
and the module fails to load if the initialization fails there is no need
to fall back to plain bio_alloc.

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_actlog.c
drivers/block/drbd/drbd_bitmap.c
drivers/block/drbd/drbd_int.h
drivers/block/drbd/drbd_main.c