Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 15334
b: refs/heads/master
c: 0433339
h: refs/heads/master
v: v3
  • Loading branch information
James Bottomley authored and Linus Torvalds committed Dec 26, 2005
1 parent 88a9789 commit 06536c0
Show file tree
Hide file tree
Showing 2 changed files with 3 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: f89f5948fc10bb973cd452d2e334da207828e228
refs/heads/master: 04333393b930370db0cc29fdf0dbbd08ecd43337
3 changes: 2 additions & 1 deletion trunk/drivers/scsi/scsi_scan.c
Original file line number Diff line number Diff line change
Expand Up @@ -418,8 +418,9 @@ static void scsi_target_reap_work(void *data) {
if (--starget->reap_ref == 0 && list_empty(&starget->devices)) {
list_del_init(&starget->siblings);
spin_unlock_irqrestore(shost->host_lock, flags);
transport_remove_device(&starget->dev);
device_del(&starget->dev);
transport_unregister_device(&starget->dev);
transport_destroy_device(&starget->dev);
put_device(&starget->dev);
return;

Expand Down

0 comments on commit 06536c0

Please sign in to comment.