From: Nicholas Bellinger Date: Sat, 25 Feb 2012 09:40:24 +0000 (-0800) Subject: target: Fix target_submit_tmr se_tmr_req allocation failures X-Git-Tag: v3.4-rc1~146^2~23 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c7042cae58c13970f39c0820a3aab2a13dda9fe1;p=pandora-kernel.git target: Fix target_submit_tmr se_tmr_req allocation failures This patch makes target_submit_tmr() se_tmr_req allocation occur before target_get_sess_cmd(), and changes target_submit_tmr() to return a failure w/ non zero status to the fabric caller upon core_tmr_alloc_req() failure. Cc: Andy Grover Cc: Kiran Patil Cc: Arun Easi Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed