[SCSI] iscsi_tcp: increase max_lun to ~0, don't care
authorRob Evers <revers@redhat.com>
Wed, 15 Aug 2012 22:39:34 +0000 (18:39 -0400)
committerJames Bottomley <JBottomley@Parallels.com>
Mon, 24 Sep 2012 08:10:55 +0000 (12:10 +0400)
Signed-off-by: Rob Evers <revers@redhat.com>
Acked-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/iscsi_tcp.c

index 922086105b4b27d62e19668448b3fb2282837737..1b91ca0dc1e39cdb2b27bc76e0f9c710a6922a51 100644 (file)
@@ -55,7 +55,7 @@ static struct scsi_transport_template *iscsi_sw_tcp_scsi_transport;
 static struct scsi_host_template iscsi_sw_tcp_sht;
 static struct iscsi_transport iscsi_sw_tcp_transport;
 
-static unsigned int iscsi_max_lun = 512;
+static unsigned int iscsi_max_lun = ~0;
 module_param_named(max_lun, iscsi_max_lun, uint, S_IRUGO);
 
 static int iscsi_sw_tcp_dbg;