diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2005-07-26 10:18:45 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.(none)> | 2005-09-09 10:24:31 -0500 |
commit | e517d3133f62c27b211f305a6dbd6f6ccac0db1b (patch) | |
tree | d427be7f70d9467d123063a8f547822e54ca1d2f /drivers/scsi/scsi_sysfs.c | |
parent | caf39e87cc1182f7dae84eefc43ca14d54c78ef9 (diff) | |
download | linux-e517d3133f62c27b211f305a6dbd6f6ccac0db1b.tar.gz linux-e517d3133f62c27b211f305a6dbd6f6ccac0db1b.tar.bz2 linux-e517d3133f62c27b211f305a6dbd6f6ccac0db1b.zip |
[SCSI] add missing scan mutex to scsi_scan_target()
This patch (as543) adds a private entry point to scsi_scan_target, for use
when the caller already owns the scan_mutex, and updates the kerneldoc for
that routine (which was badly out-of-date). It converts scsi_scan_channel
to use the new entry point. Lastly, it modifies scsi_get_host_dev to make
it acquire the scan_mutex, necessary since the routine adds a new
scsi_device even if it doesn't do any actual scanning.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/scsi_sysfs.c')
0 files changed, 0 insertions, 0 deletions