summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/pm8001
diff options
context:
space:
mode:
authorMike Christie <michaelc@cs.wisc.edu>2015-01-28 03:46:53 -0600
committerChristoph Hellwig <hch@lst.de>2015-02-02 13:45:28 +0100
commit28072ad50ca7328bd99f9dba94ac27c723da0053 (patch)
treea5ded873ab647a164ab297bd614ad18cfd79cdca /drivers/scsi/pm8001
parentbcbde52b14b70c6b3d500e8d18c261d7b1c6fed3 (diff)
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>
Diffstat (limited to 'drivers/scsi/pm8001')
0 files changed, 0 insertions, 0 deletions