diff options
author | Matthew Wilcox <matthew@wil.cx> | 2007-01-15 18:07:09 -0700 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2007-01-27 09:02:36 -0600 |
commit | 938e2ac0b7ac72d264783b0b548eb6078c295294 (patch) | |
tree | ad824377bdef1eea7a945501e432351942c9eab4 /include/video/iga.h | |
parent | 7d620a4e531ae4d432d3c88f7d4b75327d881a87 (diff) | |
download | kernel_samsung_smdk4412-938e2ac0b7ac72d264783b0b548eb6078c295294.zip kernel_samsung_smdk4412-938e2ac0b7ac72d264783b0b548eb6078c295294.tar.gz kernel_samsung_smdk4412-938e2ac0b7ac72d264783b0b548eb6078c295294.tar.bz2 |
[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>
Diffstat (limited to 'include/video/iga.h')
0 files changed, 0 insertions, 0 deletions