public inbox for linux-scsi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] add back the missing ->slave_destroy call
@ 2003-09-21 15:48 Christoph Hellwig
  0 siblings, 0 replies; only message in thread
From: Christoph Hellwig @ 2003-09-21 15:48 UTC (permalink / raw)
  To: James Bottomley; +Cc: linux-scsi

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);

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-09-21 15:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-09-21 15:48 [PATCH] add back the missing ->slave_destroy call Christoph Hellwig

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox