target: add helper to copy sense to se_cmd buffer
authorMike Christie <mchristi@redhat.com>
Wed, 31 May 2017 20:52:39 +0000 (15:52 -0500)
committerNicholas Bellinger <nab@linux-iscsi.org>
Fri, 7 Jul 2017 06:11:45 +0000 (23:11 -0700)
commitc6d66aba98a39cfed206c5c61f0a604ba09b26ce
treed45f9069b34a52f67f9ea58c4f50e32257944000
parent9fe36984501035f2878aa10d83e79bfc07b7ad7e
target: add helper to copy sense to se_cmd buffer

This adds a helper to copy sense from backend module buffer to
the se_cmd's sense buffer.

Signed-off-by: Mike Christie <mchristi@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_transport.c
include/target/target_core_backend.h