summaryrefslogtreecommitdiff
path: root/drivers/target/target_core_file.c
diff options
context:
space:
mode:
authorAndy Grover <agrover@redhat.com>2015-05-20 00:44:40 +0300
committerNicholas Bellinger <nab@linux-iscsi.org>2015-05-31 05:57:59 +0300
commit7bfea53b5c936d706d0bf60ec218fa72cde77121 (patch)
tree1bed6667ac527acab7c2b2fb72e2bb1aa7b4cca5 /drivers/target/target_core_file.c
parent9c1cd1b68cd15c81d12a0cf2402129475882b620 (diff)
downloadlinux-7bfea53b5c936d706d0bf60ec218fa72cde77121.tar.xz
target: Move passthrough CDB parsing into a common function
Aside from whether they handle BIDI ops or not, parsing of the CDB by kernel and user SCSI passthrough modules should be identical. Move this into a new passthrough_parse_cdb() and call it from tcm-pscsi and tcm-user. Reported-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Ilias Tsitsimpis <iliastsi@arrikto.com> Signed-off-by: Andy Grover <agrover@redhat.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/target_core_file.c')
0 files changed, 0 insertions, 0 deletions