Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 144453
b: refs/heads/master
c: a0fd2e4
h: refs/heads/master
i:
  144451: b7c6ef6
v: v3
  • Loading branch information
Abhijeet Joglekar authored and James Bottomley committed Apr 27, 2009
1 parent a46e969 commit 698f682
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 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: b4c6f54632ad664a3d9e7f05e4ea0f1803e32755
refs/heads/master: a0fd2e49ec75bf74d3d202df51dfe65ad4c32605
9 changes: 5 additions & 4 deletions trunk/drivers/scsi/libfc/fc_lport.c
Original file line number Diff line number Diff line change
Expand Up @@ -618,6 +618,11 @@ int fc_fabric_logoff(struct fc_lport *lport)
{
lport->tt.disc_stop_final(lport);
mutex_lock(&lport->lp_mutex);
if (lport->dns_rp)
lport->tt.rport_logoff(lport->dns_rp);
mutex_unlock(&lport->lp_mutex);
lport->tt.rport_flush_queue();
mutex_lock(&lport->lp_mutex);
fc_lport_enter_logo(lport);
mutex_unlock(&lport->lp_mutex);
cancel_delayed_work_sync(&lport->retry_work);
Expand Down Expand Up @@ -1408,10 +1413,6 @@ static void fc_lport_enter_logo(struct fc_lport *lport)

fc_lport_state_enter(lport, LPORT_ST_LOGO);

/* DNS session should be closed so we can release it here */
if (lport->dns_rp)
lport->tt.rport_logoff(lport->dns_rp);

fp = fc_frame_alloc(lport, sizeof(*logo));
if (!fp) {
fc_lport_error(lport, fp);
Expand Down

0 comments on commit 698f682

Please sign in to comment.