]> err.no Git - linux-2.6/blobdiff - drivers/scsi/scsi_sysfs.c
[SCSI] aic7xxx/aic79xx: New device ids
[linux-2.6] / drivers / scsi / scsi_sysfs.c
index ea7f3a43357235f3287efe594e41f9799b2fa0aa..2cb962751a7ee76bbbe7f503a41a390cbc3004a6 100644 (file)
@@ -745,9 +745,9 @@ void scsi_remove_device(struct scsi_device *sdev)
 {
        struct Scsi_Host *shost = sdev->host;
 
-       down(&shost->scan_mutex);
+       mutex_lock(&shost->scan_mutex);
        __scsi_remove_device(sdev);
-       up(&shost->scan_mutex);
+       mutex_unlock(&shost->scan_mutex);
 }
 EXPORT_SYMBOL(scsi_remove_device);