Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 9097
b: refs/heads/master
c: 5419500
h: refs/heads/master
i:
  9095: b017db0
v: v3
  • Loading branch information
Alan Stern authored and James Bottomley committed Sep 16, 2005
1 parent ff03455 commit 7b29ed6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b5683557331b129658ab435391df527ef72d63dc
refs/heads/master: 541950027f8b7c96a639bc16e48930c590f1b98a
6 changes: 4 additions & 2 deletions trunk/drivers/scsi/scsi_sysfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -707,9 +707,11 @@ void __scsi_remove_device(struct scsi_device *sdev)
**/
void scsi_remove_device(struct scsi_device *sdev)
{
down(&sdev->host->scan_mutex);
struct Scsi_Host *shost = sdev->host;

down(&shost->scan_mutex);
__scsi_remove_device(sdev);
up(&sdev->host->scan_mutex);
up(&shost->scan_mutex);
}
EXPORT_SYMBOL(scsi_remove_device);

Expand Down

0 comments on commit 7b29ed6

Please sign in to comment.