]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit46e4d7272e09766feac5cd57eb3bfb2d1e9907f5
treea8d555d924ba357bc4953be4ed31483b0f08eb9c
parentef9dc0e13ff34f48929af56a60d7764849c516b9
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