Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 310849
b: refs/heads/master
c: fae9eaf
h: refs/heads/master
i:
  310847: 46ef8f3
v: v3
  • Loading branch information
Roland Dreier authored and Nicholas Bellinger committed Jun 13, 2012
1 parent b446039 commit 7c43526
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 092e1dc3f227ebef9ad45c26ef05c283ca4495a5
refs/heads/master: fae9eaf81323eda64f28b9f4f4aeffb807e5b5f4
4 changes: 3 additions & 1 deletion trunk/drivers/scsi/qla2xxx/qla_target.c
Original file line number Diff line number Diff line change
Expand Up @@ -2725,10 +2725,12 @@ static void qlt_do_work(struct work_struct *work)
out_term:
ql_dbg(ql_dbg_tgt_mgt, vha, 0xf020, "Terminating work cmd %p", cmd);
/*
* cmd has not sent to target yet, so pass NULL as the second argument
* cmd has not sent to target yet, so pass NULL as the second
* argument to qlt_send_term_exchange() and free the memory here.
*/
spin_lock_irqsave(&ha->hardware_lock, flags);
qlt_send_term_exchange(vha, NULL, &cmd->atio, 1);
kmem_cache_free(qla_tgt_cmd_cachep, cmd);
spin_unlock_irqrestore(&ha->hardware_lock, flags);
if (sess)
ha->tgt.tgt_ops->put_sess(sess);
Expand Down

0 comments on commit 7c43526

Please sign in to comment.