[SCSI] fix missing check for no scanning
authorMatthew Wilcox <matthew@wil.cx>
Wed, 22 Nov 2006 20:24:53 +0000 (13:24 -0700)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Wed, 22 Nov 2006 22:41:52 +0000 (16:41 -0600)
commit93b45af5c6b9d41bbe9da11442291ac4eefc15b4
treeb88045d3b18c495e0fc3b573a54edb0ee75039ff
parent21db1882f79a1ad5977cae6766376a63f60ec414
[SCSI] fix missing check for no scanning

Drivers that called scsi_scan_target() instead of scsi_scan_host() were
still adding devices; this needs to be under the control of userspace,
not the driver.

Signed-off-by: Matthew Wilcox <matthew@wil.cx>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
drivers/scsi/scsi_scan.c