mirror of https://gitee.com/openkylin/linux.git
28072ad50c
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> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
scsi_dh.c | ||
scsi_dh_alua.c | ||
scsi_dh_emc.c | ||
scsi_dh_hp_sw.c | ||
scsi_dh_rdac.c |