Christoph Hellwig a78f18da66 md: remove bio_alloc_mddev
bio_alloc_mddev is never called with a NULL mddev, and ->bio_set is
initialized in md_run, so it always must be initialized as well.  Just
open code the remaining call to bio_alloc_bioset.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Song Liu <song@kernel.org>
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>
2021-01-27 09:51:48 -07:00
..
2019-11-12 19:12:07 -07:00
2020-07-08 17:20:46 -06:00
2020-08-03 11:57:03 -07:00
2021-01-04 15:02:32 -05:00
2020-12-16 13:09:32 -08:00
2021-01-27 09:51:48 -07:00
2021-01-27 09:51:48 -07:00
2020-12-16 12:57:51 -08:00
2021-01-27 09:51:48 -07:00
2019-03-12 10:15:18 -07:00
2021-01-27 09:51:48 -07:00