diff options
author | Dave Dillow <dillowda@ornl.gov> | 2008-01-04 05:34:49 +0300 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-01-04 23:15:51 +0300 |
commit | 911833440b498e3e4fe2f12c1ae2bd44400c7004 (patch) | |
tree | 4076a238fb64737794702670ff3abffdd230d87c /drivers/scsi/sr.c | |
parent | 439f61b9f9ebbf84fb7e6b3539fc3794e046bbb9 (diff) | |
download | linux-911833440b498e3e4fe2f12c1ae2bd44400c7004.tar.xz |
[SCSI] SRP transport: only remove our own entries
The SCSI SRP transport class currently iterates over all children
devices of the host that is being removed in srp_remove_host(). However,
not all of those children were created by the SRP transport, and
removing them will cause corruption and an oops when their creator tries
to remove them.
Signed-off-by: David Dillow <dillowda@ornl.gov>
Acked-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/sr.c')
0 files changed, 0 insertions, 0 deletions