Matthew Wilcox 938e2ac0b7 [SCSI] Fix scsi_add_device() for async scanning
I had thought that all drivers which didn't call scsi_scan_host()
called scsi_scan_target().  Some, such as sbp2, mptsas and libata-scsi,
call scsi_add_device() or __scsi_add_device().  We just need to wait
for the currently executing async scans to complete first.  This is the
same code that's in scsi_scan_target(), except that we have to return
an error instead of void when we're declining to scan at all.

Signed-off-by: Matthew Wilcox <matthew@wil.cx>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
2007-01-27 09:02:36 -06:00
..
2006-12-07 08:39:25 -08:00
2006-12-07 08:39:25 -08:00
2007-01-06 09:05:18 -06:00
2006-12-07 08:39:25 -08:00
2006-09-12 17:12:31 -05:00
2006-09-12 17:12:31 -05:00
2006-11-22 14:57:56 +00:00
2006-11-22 12:06:44 -06:00
2006-08-06 15:59:26 -05:00
2006-11-15 16:41:27 -06:00
2006-08-06 15:59:26 -05:00
2006-11-10 09:59:49 +09:00
2006-09-12 17:12:31 -05:00
2006-11-22 14:57:56 +00:00
2006-12-07 08:39:24 -08:00
2006-11-22 12:22:29 -06:00
2006-09-23 15:33:43 -05:00
2007-01-03 16:57:38 -06:00
2006-12-05 10:25:35 -06:00
2006-12-05 10:25:35 -06:00
2006-09-12 17:12:31 -05:00
2006-11-30 05:24:39 +01:00
2006-11-22 14:57:56 +00:00
2006-11-22 14:57:56 +00:00
2006-11-22 14:57:56 +00:00
2006-12-19 08:33:11 +01:00
2006-08-06 15:59:26 -05:00
2006-12-07 08:39:25 -08:00
2006-12-08 08:28:49 -08:00
2007-01-03 16:57:38 -06:00
2006-12-08 08:28:49 -08:00
2006-12-05 11:33:58 -06:00
2006-11-15 16:43:50 -06:00
2006-10-25 15:12:03 -07:00