Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 292849
b: refs/heads/master
c: 00ad4c4
h: refs/heads/master
i:
  292847: ffbed57
v: v3
  • Loading branch information
Nicholas Bellinger committed Feb 26, 2012
1 parent c0c4202 commit 53d3c4e
Show file tree
Hide file tree
Showing 2 changed files with 5 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: c7042cae58c13970f39c0820a3aab2a13dda9fe1
refs/heads/master: 00ad4c4e81ba8bfcc52c42ec9d72ff84a081fb82
5 changes: 4 additions & 1 deletion trunk/drivers/target/tcm_fc/tfc_cmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -354,6 +354,7 @@ static void ft_send_resp_code_and_free(struct ft_cmd *cmd,
static void ft_send_tm(struct ft_cmd *cmd)
{
struct fcp_cmnd *fcp;
int rc;
u8 tm_func;

fcp = fc_frame_payload_get(cmd->req_frame, sizeof(*fcp));
Expand Down Expand Up @@ -384,9 +385,11 @@ static void ft_send_tm(struct ft_cmd *cmd)
return;
}

target_submit_tmr(&cmd->se_cmd, cmd->sess->se_sess,
rc = target_submit_tmr(&cmd->se_cmd, cmd->sess->se_sess,
&cmd->ft_sense_buffer[0], scsilun_to_int(&fcp->fc_lun),
cmd, tm_func, 0);
if (rc < 0)
ft_send_resp_code_and_free(cmd, FCP_TMF_FAILED);
}

/*
Expand Down

0 comments on commit 53d3c4e

Please sign in to comment.