aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/target/tcm_fc/tfc_io.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/target/tcm_fc/tfc_io.c')
-rw-r--r--drivers/target/tcm_fc/tfc_io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/target/tcm_fc/tfc_io.c b/drivers/target/tcm_fc/tfc_io.c
index 8c4a24077d9d..47efcfb9f4b8 100644
--- a/drivers/target/tcm_fc/tfc_io.c
+++ b/drivers/target/tcm_fc/tfc_io.c
@@ -90,7 +90,7 @@ int ft_queue_data_in(struct se_cmd *se_cmd)
90 lport = ep->lp; 90 lport = ep->lp;
91 cmd->seq = lport->tt.seq_start_next(cmd->seq); 91 cmd->seq = lport->tt.seq_start_next(cmd->seq);
92 92
93 task = T_TASK(se_cmd); 93 task = se_cmd->t_task;
94 BUG_ON(!task); 94 BUG_ON(!task);
95 remaining = se_cmd->data_length; 95 remaining = se_cmd->data_length;
96 96
@@ -236,7 +236,7 @@ void ft_recv_write_data(struct ft_cmd *cmd, struct fc_frame *fp)
236 u32 f_ctl; 236 u32 f_ctl;
237 void *buf; 237 void *buf;
238 238
239 task = T_TASK(se_cmd); 239 task = se_cmd->t_task;
240 BUG_ON(!task); 240 BUG_ON(!task);
241 241
242 fh = fc_frame_header_get(fp); 242 fh = fc_frame_header_get(fp);