Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 181383
b: refs/heads/master
c: d546911
h: refs/heads/master
i:
  181381: a191f10
  181379: a5ac64b
  181375: c49625d
v: v3
  • Loading branch information
Alan Stern authored and James Bottomley committed Feb 18, 2010
1 parent 1e1f50e commit 5105f49
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 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: 75f8ee8e01a6c96652f27da40d4bdac9e2e485f0
refs/heads/master: d5469119f0098881ab7f991990ef4f81ef13a194
5 changes: 2 additions & 3 deletions trunk/drivers/scsi/scsi_scan.c
Original file line number Diff line number Diff line change
Expand Up @@ -1909,10 +1909,9 @@ struct scsi_device *scsi_get_host_dev(struct Scsi_Host *shost)
goto out;

sdev = scsi_alloc_sdev(starget, 0, NULL);
if (sdev) {
sdev->sdev_gendev.parent = get_device(&starget->dev);
if (sdev)
sdev->borken = 0;
} else
else
scsi_target_reap(starget);
put_device(&starget->dev);
out:
Expand Down

0 comments on commit 5105f49

Please sign in to comment.