block: remove the minors argument to __alloc_disk_node
authorChristoph Hellwig <hch@lst.de>
Mon, 16 Aug 2021 13:19:07 +0000 (15:19 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 23 Aug 2021 18:54:30 +0000 (12:54 -0600)
commita58bd7683fcb60ae24c8572f932b48bc65719b7c
treea8d555d924ba357bc4953be4ed31483b0f08eb9c
parent9c2b9dbafc067e173db30c4fd0636392d27944e8
block: remove the minors argument to __alloc_disk_node

This was a leftover from the legacy alloc_disk interface.  Switch
the scsi ULPs and dasd to set ->minors directly like all other
drivers and remove the argument.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Stefan Haberland <sth@linux.ibm.com> [dasd]
Link: https://lore.kernel.org/r/20210816131910.615153-7-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq.c
block/genhd.c
drivers/s390/block/dasd_genhd.c
drivers/scsi/sd.c
drivers/scsi/sr.c
include/linux/genhd.h