summaryrefslogtreecommitdiff
path: root/drivers/target/target_core_configfs.c
diff options
context:
space:
mode:
authorNicholas Bellinger <nab@daterainc.com>2013-08-21 14:54:54 -0700
committerNicholas Bellinger <nab@linux-iscsi.org>2013-09-10 16:48:35 -0700
commitb3faa2e87ce04e48f16f3823977329b7c367b3f9 (patch)
tree796a8722df5ffa66e29936f5cfdf4624e536208a /drivers/target/target_core_configfs.c
parentcf6d1f0964fa9db57fc660caf51939d7a03359a1 (diff)
target/tcm_qla2xxx: Add/use target_reverse_dma_direction() in target_core_fabric.h
Reversing the dma_data_direction for pci_map_sg() friends is useful for other drivers, so move it from tcm_qla2xxx into inline code within target_core_fabric.h. Also drop internal usage of equivlient in tcm_qla2xxx fabric code. Reported-by: Christoph Hellwig <hch@lst.de> Cc: Roland Dreier <roland@purestorage.com> Cc: Giridhar Malavali <giridhar.malavali@qlogic.com> Cc: Chad Dupuis <chad.dupuis@qlogic.com> Cc: Nicholas Bellinger <nab@linux-iscsi.org> Signed-off-by: Nicholas Bellinger <nab@daterainc.com>
Diffstat (limited to 'drivers/target/target_core_configfs.c')
0 files changed, 0 insertions, 0 deletions