From 76cc1e8857b8723baaf04c122d44e1ecac8c7be2 Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Tue, 13 Aug 2013 18:40:34 +0000 Subject: [PATCH] fcst: Always report FC exchange errors git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4965 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- fcst/ft_cmd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fcst/ft_cmd.c b/fcst/ft_cmd.c index eb3e70098..86f1e90f9 100644 --- a/fcst/ft_cmd.c +++ b/fcst/ft_cmd.c @@ -321,7 +321,8 @@ static void ft_recv_seq(struct fc_seq *sp, struct fc_frame *fp, void *arg) * the session and all pending commands, so we ignore this response. */ if (IS_ERR(fp)) { - FT_IO_DBG("exchange error %ld - aborting cmd\n", -PTR_ERR(fp)); + pr_err("exchange error %ld - aborting cmd %p / tag %lld\n", + -PTR_ERR(fp), cmd, cmd->tag); scst_rx_mgmt_fn_tag(cmd->sess, SCST_ABORT_TASK, cmd->tag, SCST_ATOMIC, NULL); return;