aboutsummaryrefslogtreecommitdiffstats
path: root/lib/string.c
diff options
context:
space:
mode:
authorMike Christie <[email protected]>2015-01-28 09:46:53 +0000
committerChristoph Hellwig <[email protected]>2015-02-02 12:45:28 +0000
commit28072ad50ca7328bd99f9dba94ac27c723da0053 (patch)
treea5ded873ab647a164ab297bd614ad18cfd79cdca /lib/string.c
parentMAINTAINERS: ibmvscsi driver maintainer change (diff)
downloadkernel-28072ad50ca7328bd99f9dba94ac27c723da0053.tar.gz
kernel-28072ad50ca7328bd99f9dba94ac27c723da0053.zip
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 <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'lib/string.c')
0 files changed, 0 insertions, 0 deletions