]> www.infradead.org Git - users/jedix/linux-maple.git/commit
scsi: bump up SD_MAX_DISKS
authorDave Kleikamp <dave.kleikamp@oracle.com>
Wed, 14 Sep 2011 21:48:47 +0000 (16:48 -0500)
committerGuru Anbalagane <guru.anbalagane@oracle.com>
Mon, 19 Sep 2011 21:54:33 +0000 (14:54 -0700)
commit9edefe7c9d8c35b4051461c2060e61633b86cfc8
tree743628baa7fd04c8aa515dcd7da185525189763a
parent58b6a31381b05419472cdbf1972f62a534ec93cf
scsi: bump up SD_MAX_DISKS

SD_MAX_DISKS is arbitrarily limited to the number of scsi disks in the
namespace constructed of "sd" followed by one to three of the letters
a-z, or 18278 disks. There is no need for this limit, since appending
a fourth letter works perfectly fine. This simple patch just bumps the
number up to allow up to four letters after "sd". It might be best to
simply remove the test against SD_MAX_DISKS, but this is the patch that
has been unit tested.

Signed-off-by: Dave Kleikamp <dave.kleikamp@oracle.com>
drivers/scsi/sd.h