aboutsummaryrefslogtreecommitdiffstats
path: root/include/scsi/scsi_cmnd.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2006-01-04 13:45:20 +0100
committerJames Bottomley <jejb@mulgrave.(none)>2006-01-14 10:54:44 -0600
commitd4054239929479907f20b9d68c905589125ad343 (patch)
tree09b02453ac3adde7df61ad32f684996f0329874e /include/scsi/scsi_cmnd.h
parent[SCSI] Pass proper device from BusLogic to SCSI layer (diff)
downloadlinux-dev-d4054239929479907f20b9d68c905589125ad343.tar.xz
linux-dev-d4054239929479907f20b9d68c905589125ad343.zip
[SCSI] sas: fix removal of devices behind expanders
We need to iterate over all children when removing and expander, else stale objects will be around after host removal. This fixes the oops Eric Moore saw when removing and reloading mptsas. Also don't try the scsi_remove_target call unless operating on an end device. The current unconditional call is harmless but confusing. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'include/scsi/scsi_cmnd.h')
0 files changed, 0 insertions, 0 deletions