commit | c7042cae58c13970f39c0820a3aab2a13dda9fe1 | [log] [tgz] |
---|---|---|
author | Nicholas Bellinger <nab@linux-iscsi.org> | Sat Feb 25 01:40:24 2012 -0800 |
committer | Nicholas Bellinger <nab@linux-iscsi.org> | Sat Feb 25 18:38:34 2012 -0800 |
tree | 63d75c4c8e37d9a26033ed11b47345b4ae697524 | |
parent | 3de55ec74aa803d7aa1e581700086d755c2599d2 [diff] |
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 <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>