Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 136278
b: refs/heads/master
c: 77c0197
h: refs/heads/master
v: v3
  • Loading branch information
Alan Stern authored and James Bottomley committed Mar 12, 2009
1 parent 3a6de93 commit 16571f0
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: 058bb82c5628c88af802c19e2b56ae43551552d5
refs/heads/master: 77c019768f0607c36e25bec11ce3e1eabef09277
3 changes: 2 additions & 1 deletion trunk/drivers/scsi/hosts.c
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,6 @@ void scsi_remove_host(struct Scsi_Host *shost)
transport_unregister_device(&shost->shost_gendev);
device_unregister(&shost->shost_dev);
device_del(&shost->shost_gendev);
scsi_proc_hostdir_rm(shost->hostt);
}
EXPORT_SYMBOL(scsi_remove_host);

Expand Down Expand Up @@ -270,6 +269,8 @@ static void scsi_host_dev_release(struct device *dev)
struct Scsi_Host *shost = dev_to_shost(dev);
struct device *parent = dev->parent;

scsi_proc_hostdir_rm(shost->hostt);

if (shost->ehandler)
kthread_stop(shost->ehandler);
if (shost->work_q)
Expand Down

0 comments on commit 16571f0

Please sign in to comment.