diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2005-07-26 10:20:53 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.(none)> | 2005-09-09 10:28:17 -0500 |
commit | 903f4fed858a7b56b260cbd55d174fe54d188fb7 (patch) | |
tree | c687e5605cb64982e57e8607e884b91cfe869946 /drivers/scsi/scsi_priv.h | |
parent | e517d3133f62c27b211f305a6dbd6f6ccac0db1b (diff) | |
download | kernel_samsung_espresso10-903f4fed858a7b56b260cbd55d174fe54d188fb7.zip kernel_samsung_espresso10-903f4fed858a7b56b260cbd55d174fe54d188fb7.tar.gz kernel_samsung_espresso10-903f4fed858a7b56b260cbd55d174fe54d188fb7.tar.bz2 |
[SCSI] fix callers of scsi_remove_device() who already hold the scan muted
This patch (as544) adds a private entry point to scsi_remove_device, for
use when callers already own the scan_mutex. The appropriate callers are
modified to use the new entry point.
Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/scsi_priv.h')
-rw-r--r-- | drivers/scsi/scsi_priv.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/scsi_priv.h b/drivers/scsi/scsi_priv.h index ee6de17..d05f778 100644 --- a/drivers/scsi/scsi_priv.h +++ b/drivers/scsi/scsi_priv.h @@ -124,6 +124,7 @@ extern void scsi_sysfs_unregister(void); extern void scsi_sysfs_device_initialize(struct scsi_device *); extern int scsi_sysfs_target_initialize(struct scsi_device *); extern struct scsi_transport_template blank_transport_template; +extern void __scsi_remove_device(struct scsi_device *); extern struct bus_type scsi_bus_type; |