Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 173594
b: refs/heads/master
c: 7043110
h: refs/heads/master
v: v3
  • Loading branch information
Brian King authored and James Bottomley committed Dec 4, 2009
1 parent b242772 commit ac3e978
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 230934a6fe2f44d14ef840639f010c9cf4da098f
refs/heads/master: 7043110550f19c1556ad18dc4d63b1c9eaf9e4fd
4 changes: 4 additions & 0 deletions trunk/drivers/scsi/ibmvscsi/ibmvfc.c
Original file line number Diff line number Diff line change
Expand Up @@ -4420,7 +4420,11 @@ static int ibmvfc_remove(struct vio_dev *vdev)

ENTER;
ibmvfc_remove_trace_file(&vhost->host->shost_dev.kobj, &ibmvfc_trace_attr);

spin_lock_irqsave(vhost->host->host_lock, flags);
ibmvfc_link_down(vhost, IBMVFC_HOST_OFFLINE);
spin_unlock_irqrestore(vhost->host->host_lock, flags);

ibmvfc_wait_while_resetting(vhost);
ibmvfc_release_crq_queue(vhost);
kthread_stop(vhost->work_thread);
Expand Down

0 comments on commit ac3e978

Please sign in to comment.