[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>
This commit is contained in:
committed by
James Bottomley
parent
e517d3133f
commit
903f4fed85
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user