[SCSI] zfcp: Add allow_lun_scan module parameter
authorChristof Schmitt <christof.schmitt@de.ibm.com>
Wed, 8 Dec 2010 16:30:46 +0000 (17:30 +0100)
committerJames Bottomley <James.Bottomley@suse.de>
Tue, 21 Dec 2010 18:24:48 +0000 (12:24 -0600)
commit0d81b4e8dcc4177726f30a1ac8df1f726d2a7c0c
treef8179d83b91478f07456d78981bf95dcd1c3dc5e
parent51780d2c38a7294c2c302ae9d2ea517bd4153dec
[SCSI] zfcp: Add allow_lun_scan module parameter

The zfcpdump tool requires a method to attach exactly one LUN. The
easiest way to achieve this is to add a new zfcp module parameter.
When allow_lun_scan is set to "false", zfcp only accepts LUNs that
have been configured through the unit_add sysfs interface.

Reviewed-by: Swen Schillig <swen@vnet.ibm.com>
Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/s390/scsi/zfcp_scsi.c