linux_old1/drivers/scsi/device_handler
Christoph Hellwig 27c888f0bb scsi_dh: get module reference outside of device handler
We need to grab a reference to the module before calling the attach
routines to avoid a small race vs module removal.  It also cleans up
the code significantly as a side effect.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Mike Christie <michaelc@cs.wisc.edu>
Reviewed-by: Hannes Reinecke <hare@suse.de>
2014-11-12 11:19:22 +01:00
..
Kconfig drivers/scsi/device_handler: remove depends on CONFIG_EXPERIMENTAL 2013-01-21 14:52:45 -08:00
Makefile [SCSI] scsi_dh: add generic SPC-3 alua handler 2008-07-26 15:14:52 -04:00
scsi_dh.c scsi_dh: get module reference outside of device handler 2014-11-12 11:19:22 +01:00
scsi_dh_alua.c scsi_dh: get module reference outside of device handler 2014-11-12 11:19:22 +01:00
scsi_dh_emc.c scsi_dh: get module reference outside of device handler 2014-11-12 11:19:22 +01:00
scsi_dh_hp_sw.c scsi_dh: get module reference outside of device handler 2014-11-12 11:19:22 +01:00
scsi_dh_rdac.c scsi_dh: get module reference outside of device handler 2014-11-12 11:19:22 +01:00