linux-ide.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v9 0/3] libsas error handling + discovery v9
@ 2012-02-10 21:52 Dan Williams
  2012-02-10 21:53 ` [PATCH v9 1/3] libsas: close scsi_remove_target() vs libata-eh race Dan Williams
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Dan Williams @ 2012-02-10 21:52 UTC (permalink / raw)
  To: linux-scsi; +Cc: linux-ide

Changes since v8: http://marc.info/?l=linux-scsi&m=132886259501191&w=2

Noticed that the rebased version of "libsas: close scsi_remove_target()
vs libata-eh race" mistakenly dropped a necessary call to
sas_put_device().

...reflowed the other two patches as a result, and added Jeff Garzik's
acked-by:

[PATCH 1/3] libsas: close scsi_remove_target() vs libata-eh race
[PATCH 2/3] libsas: improve debug statements
[PATCH 3/3] libsas: async ata scanning

Incremental diff from v8:

diff --git a/drivers/scsi/libsas/sas_ata.c b/drivers/scsi/libsas/sas_ata.c
index 1b1d4b7..bc0cecc 100644
--- a/drivers/scsi/libsas/sas_ata.c
+++ b/drivers/scsi/libsas/sas_ata.c
@@ -715,6 +715,7 @@ static void async_sas_ata_eh(void *data, async_cookie_t cookie)
 	kref_get(&dev->kref);
 	sas_ata_printk(KERN_DEBUG, dev, "dev error handler\n");
 	ata_scsi_port_error_handler(ha->core.shost, ap);
+	sas_put_device(dev);
 }
 
 static bool sas_ata_dev_eh_valid(struct domain_device *dev)

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-02-10 21:38 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-10 21:52 [PATCH v9 0/3] libsas error handling + discovery v9 Dan Williams
2012-02-10 21:53 ` [PATCH v9 1/3] libsas: close scsi_remove_target() vs libata-eh race Dan Williams
2012-02-10 21:53 ` [PATCH v9 2/3] libsas: improve debug statements Dan Williams
2012-02-10 21:53 ` [PATCH v9 3/3] libsas: async ata scanning Dan Williams

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).