tcm_fc: Handle target_submit_tmr allocation failure
authorNicholas Bellinger <nab@linux-iscsi.org>
Sat, 25 Feb 2012 09:43:04 +0000 (01:43 -0800)
committerNicholas Bellinger <nab@linux-iscsi.org>
Sun, 26 Feb 2012 02:38:39 +0000 (18:38 -0800)
commit00ad4c4e81ba8bfcc52c42ec9d72ff84a081fb82
treef77fd50761bf224937656145dbae20a036fd3552
parentc7042cae58c13970f39c0820a3aab2a13dda9fe1
tcm_fc: Handle target_submit_tmr allocation failure

This patch makes ft_send_tm() handle target_submit_tmr() allocation failures
via an ft_send_resp_code_and_free() w/ FCP_TMF_FAILED status.

Cc: Andy Grover <agrover@redhat.com>
Cc: Kiran Patil <kiran.patil@intel.com>
Cc: Arun Easi <arun.easi@qlogic.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/tcm_fc/tfc_cmd.c