Patchwork [v9,0/3] libsas error handling + discovery v9

mail settings
Submitter Dan Williams
Date Feb. 10, 2012, 9:52 p.m.
Message ID <>
Download mbox | patch
Permalink /patch/140722/
State Not Applicable
Delegated to: David Miller
Headers show


Dan Williams - Feb. 10, 2012, 9:52 p.m.
Changes since v8:

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

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

[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:

To unsubscribe from this list: send the line "unsubscribe linux-ide" in
the body of a message to
More majordomo info at


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