[SCSI] fix callers of scsi_remove_device() who already hold the scan muted
authorAlan Stern <stern@rowland.harvard.edu>
Tue, 26 Jul 2005 14:20:53 +0000 (10:20 -0400)
committerJames Bottomley <jejb@mulgrave.(none)>
Fri, 9 Sep 2005 15:28:17 +0000 (10:28 -0500)
commit903f4fed858a7b56b260cbd55d174fe54d188fb7
treec687e5605cb64982e57e8607e884b91cfe869946
parente517d3133f62c27b211f305a6dbd6f6ccac0db1b
[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>
drivers/scsi/scsi_priv.h
drivers/scsi/scsi_sysfs.c