Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 181382
b: refs/heads/master
c: 75f8ee8
h: refs/heads/master
v: v3
  • Loading branch information
Alan Stern authored and James Bottomley committed Feb 18, 2010
1 parent a191f10 commit 1e1f50e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: 277e76f1821ab131a409c6a2e04492ef5774fb3c
refs/heads/master: 75f8ee8e01a6c96652f27da40d4bdac9e2e485f0
4 changes: 3 additions & 1 deletion trunk/drivers/scsi/scsi_scan.c
Original file line number Diff line number Diff line change
Expand Up @@ -1339,8 +1339,10 @@ static int scsi_report_lun_scan(struct scsi_target *starget, int bflags,
sdev = scsi_alloc_sdev(starget, 0, NULL);
if (!sdev)
return 0;
if (scsi_device_get(sdev))
if (scsi_device_get(sdev)) {
__scsi_remove_device(sdev);
return 0;
}
}

sprintf(devname, "host %d channel %d id %d",
Expand Down

0 comments on commit 1e1f50e

Please sign in to comment.