Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 173608
b: refs/heads/master
c: 3f127ad
h: refs/heads/master
v: v3
  • Loading branch information
Vasu Dev authored and James Bottomley committed Dec 4, 2009
1 parent 15109eb commit 8b7de48
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: 89f19a59de0ec4626c64d90d2f5e255961cab879
refs/heads/master: 3f127ad97a985d43b3cdf4b644e77a775b6035d4
9 changes: 5 additions & 4 deletions trunk/drivers/scsi/libfc/fc_exch.c
Original file line number Diff line number Diff line change
Expand Up @@ -1718,7 +1718,7 @@ static void fc_exch_rrq(struct fc_exch *ep)
*/
static void fc_exch_els_rrq(struct fc_seq *sp, struct fc_frame *fp)
{
struct fc_exch *ep; /* request or subject exchange */
struct fc_exch *ep = NULL; /* request or subject exchange */
struct fc_els_rrq *rp;
u32 sid;
u16 xid;
Expand Down Expand Up @@ -1768,15 +1768,16 @@ static void fc_exch_els_rrq(struct fc_seq *sp, struct fc_frame *fp)
* Send LS_ACC.
*/
fc_seq_ls_acc(sp);
fc_frame_free(fp);
return;
goto out;

unlock_reject:
spin_unlock_bh(&ep->ex_lock);
fc_exch_release(ep); /* drop hold from fc_exch_find */
reject:
fc_seq_ls_rjt(sp, ELS_RJT_LOGIC, explan);
out:
fc_frame_free(fp);
if (ep)
fc_exch_release(ep); /* drop hold from fc_exch_find */
}

struct fc_exch_mgr_anchor *fc_exch_mgr_add(struct fc_lport *lport,
Expand Down

0 comments on commit 8b7de48

Please sign in to comment.