scsi: bsg: Increase number of devices
authorHannes Reinecke <hare@suse.de>
Wed, 14 Jun 2023 10:36:10 +0000 (12:36 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 16 Jun 2023 16:19:59 +0000 (12:19 -0400)
commit9077fb2ab78cd76f710893919df6b0b7da79c2c9
tree45e4b7690e17b98e5b3488d821aa57be2f73cc12
parentac9a78681b921877518763ba0e89202254349d1b
scsi: bsg: Increase number of devices

Larger setups may need to allocate more than 32k bsg devices, so increase
the number of devices to the full range of minor device numbers.

Signed-off-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Martin Wilck <mwilck@suse.com>
Link: https://lore.kernel.org/r/20230614103616.31857-2-mwilck@suse.com
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Ming Lei <ming.lei@redhat.com>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
block/bsg.c