ft_send_tm() never submits an ABORT TASK to the target core which means that passing zero as "referenced task tag" argument is fine. Hence remove the comment above target_submit_tmr(). Signed-off-by: Bart Van Assche <bart.vanassche@xxxxxxxxxxx> Cc: Vasu Dev <vasu.dev@xxxxxxxxx> Cc: Christoph Hellwig <hch@xxxxxx> --- drivers/target/tcm_fc/tfc_cmd.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/target/tcm_fc/tfc_cmd.c b/drivers/target/tcm_fc/tfc_cmd.c index 93a2d7f..7add680 100644 --- a/drivers/target/tcm_fc/tfc_cmd.c +++ b/drivers/target/tcm_fc/tfc_cmd.c @@ -395,7 +395,6 @@ static void ft_send_tm(struct ft_cmd *cmd) return; } - /* FIXME: Add referenced task tag for ABORT_TASK */ 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, GFP_KERNEL, 0, 0); -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe target-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html