block: remove alloc_disk and alloc_disk_node
authorChristoph Hellwig <hch@lst.de>
Mon, 16 Aug 2021 13:19:06 +0000 (15:19 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 23 Aug 2021 18:54:30 +0000 (12:54 -0600)
commit9c2b9dbafc067e173db30c4fd0636392d27944e8
tree13f9ebe3b5e817bf5ffa9e304d4e54fb9d470758
parent4dcc4874deb41a11ece9c6e8858385235463c1ac
block: remove alloc_disk and alloc_disk_node

Most drivers should use and have been converted to use blk_alloc_disk
and blk_mq_alloc_disk.  Only the scsi ULPs and dasd still allocate
a disk separately from the request_queue, so don't bother with
convenience macros for something that should not see significant
new users and remove these wrappers.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20210816131910.615153-6-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/s390/block/dasd_genhd.c
drivers/scsi/sd.c
drivers/scsi/sr.c
include/linux/genhd.h