]> 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)
commit53ad2f8cbe51eecf38a72926d176c0a92d1c79df
treeb711751b51bb1ad0d05ee26aa3d17021e0daae1b
parent4d319792d99f187e22c2992ad063a01d28129ce0
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