target: Export transport_generic_request_failure symbol
authorNicholas Bellinger <nab@linux-iscsi.org>
Sat, 11 Feb 2012 00:18:11 +0000 (16:18 -0800)
committerNicholas Bellinger <nab@linux-iscsi.org>
Sat, 25 Feb 2012 22:37:48 +0000 (14:37 -0800)
commit2fbff1276bb635294b3384b6c167f72d0acdab95
treed480bcaff6665583ff5f8120cc81754a8f3651b0
parenta1edf9cf6d1efed2981fcf6e4caa704fbb1bd093
target: Export transport_generic_request_failure symbol

transport_generic_request_failure() is a wrapper around calling
transport_send_check_condition_and_sense() that is required once
an se_cmd->cmd_kref has been obtained via target_submit_cmd() ->
target_get_sess_cmd().

tcm_qla2xxx currently requires this, and since it's necessary for
other callers using target_submit_cmd() make it exportable now.

Reported-by: Roland Dreier <roland@purestorage.com>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_transport.c
include/target/target_core_fabric.h