target: Add target_submit_tmr helper function
authorAndy Grover <agrover@redhat.com>
Thu, 19 Jan 2012 21:39:21 +0000 (13:39 -0800)
committerNicholas Bellinger <nab@linux-iscsi.org>
Sat, 25 Feb 2012 22:37:48 +0000 (14:37 -0800)
commitea98d7f9c7cc38de55f81a1c249112442b93c7c9
treecd5b136fa5b22ba290a9da8992c486a5d5ff68e8
parenta1321f71e87930579afc4a4029cce128c23f3fd3
target: Add target_submit_tmr helper function

Similar to target_submit_cmd, this function lets fabrics call one function
(albeit with a lot of parameters) instead of 3 or more.

(nab: Add missing return for transport_lookup_tmr_lun failure)

Signed-off-by: Andy Grover <agrover@redhat.com>
Cc: Kiran Patil <kiran.patil@intel.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_transport.c
include/target/target_core_fabric.h