From 21208ae5a21fd5f337e987cde11374eaf2fe70b4 Mon Sep 17 00:00:00 2001 From: Dave Kleikamp Date: Wed, 19 Oct 2011 11:49:04 -0500 Subject: [SCSI] sd: remove arbitrary SD_MAX_DISKS namespace limit There is no reason to limit the SCSI disk namespace to sdXXX. Add new error messages to sd_probe() in the unlikely event that either ida_get_new() or sd_format_disk_name() fail. Signed-off-by: Dave Kleikamp Signed-off-by: James Bottomley --- drivers/scsi/sd.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'drivers/scsi/sd.h') diff --git a/drivers/scsi/sd.h b/drivers/scsi/sd.h index 6ad798bfd52a..4163f2910e3d 100644 --- a/drivers/scsi/sd.h +++ b/drivers/scsi/sd.h @@ -8,12 +8,6 @@ */ #define SD_MAJORS 16 -/* - * This is limited by the naming scheme enforced in sd_probe, - * add another character to it if you really need more disks. - */ -#define SD_MAX_DISKS (((26 * 26) + 26 + 1) * 26) - /* * Time out in seconds for disks and Magneto-opticals (which are slower). */ -- cgit v1.2.3