Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 1821
b: refs/heads/master
c: c92715b
h: refs/heads/master
i:
  1819: 0045a48
v: v3
  • Loading branch information
Nathan Lynch authored and James Bottomley committed Jun 3, 2005
1 parent b12d054 commit 3071f49
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 18e144d32cd3dae6953c385e4b376ef9688b61b0
refs/heads/master: c92715b3c22e94105a8fd9e4a23047d05c5077e7
1 change: 1 addition & 0 deletions trunk/drivers/scsi/scsi_scan.c
Original file line number Diff line number Diff line change
Expand Up @@ -1197,6 +1197,7 @@ struct scsi_device *__scsi_add_device(struct Scsi_Host *shost, uint channel,
if (!starget)
return ERR_PTR(-ENOMEM);

get_device(&starget->dev);
down(&shost->scan_mutex);
res = scsi_probe_and_add_lun(starget, lun, NULL, &sdev, 1, hostdata);
if (res != SCSI_SCAN_LUN_PRESENT)
Expand Down

0 comments on commit 3071f49

Please sign in to comment.