summaryrefslogtreecommitdiff
path: root/drivers/scsi/aic7xxx/aic79xx_osm.c
diff options
context:
space:
mode:
authorJames Bottomley <James.Bottomley@steeleye.com>2005-10-02 17:59:49 (GMT)
committerJames Bottomley <jejb@mulgrave.(none)>2005-10-02 20:20:03 (GMT)
commit9e70592fcd87c90e9e98090d66cb79f39d740d4a (patch)
tree9f0c6493871998b94c50ae18eab88138a33c52ec /drivers/scsi/aic7xxx/aic79xx_osm.c
parent1640a2c385a860ef25be4a8d18a528c4b6f02bd6 (diff)
downloadlinux-fsl-qoriq-9e70592fcd87c90e9e98090d66cb79f39d740d4a.tar.xz
[SCSI] fix potential panic with proc on module removal
There's a problem in our host release in that it calls scsi_proc_hostdir_rm(). However, if you hold a reference to the host as you remove the module, the host template (which proc uses) will be freed and the system will panic when the host device is finally released. Fix this by moving scsi_proc_hostdir_rm() to where it should be: in scsi_remove_host(). Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/aic7xxx/aic79xx_osm.c')
0 files changed, 0 insertions, 0 deletions