kernel_optimize_test/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
Makefile
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
scsi_dh.c scsi_dh: get module reference outside of device handler 2014-11-12 11:19:22 +01:00