[PATCH] add back the missing ->slave_destroy call

Christoph Hellwig
2003-09-21T15:48:48Z

Looks like the merge error still isn't fixed..

--- 1.32/drivers/scsi/scsi_sysfs.c Sun Sep 21 10:22:28 2003
+++ edited/drivers/scsi/scsi_sysfs.c Sun Sep 21 10:36:43 2003
@@ -410,6 +410,8 @@
if (class) {
down_write(&class->subsys.rwsem);
set_bit(SDEV_DEL, &sdev->sdev_state);
+ if (sdev->host->hostt->slave_destroy)
+ sdev->host->hostt->slave_destroy(sdev);
if (atomic_read(&sdev->access_count))
device_del(&sdev->sdev_gendev);
up_write(&class->subsys.rwsem);