linux/drivers/scsi/device_handler
Mike Christie 28072ad50c scsi: fix device handler detach oops
This fixes a regression caused by commit 1d5203 ("scsi: handle more device
handler setup/teardown in common code").

The bug is that the alua detach() callout will try to access the
sddev->scsi_dh_data, but we have already set it to NULL. This patch
moves the clearing of that field to after detach() is called.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2015-02-02 13:45:28 +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: fix device handler detach oops 2015-02-02 13:45:28 +01:00
scsi_dh_alua.c scsi: handle more device handler setup/teardown in common code 2014-11-12 11:19:36 +01:00
scsi_dh_emc.c scsi: handle more device handler setup/teardown in common code 2014-11-12 11:19:36 +01:00
scsi_dh_hp_sw.c scsi: handle more device handler setup/teardown in common code 2014-11-12 11:19:36 +01:00
scsi_dh_rdac.c scsi: handle more device handler setup/teardown in common code 2014-11-12 11:19:36 +01:00