-
- Downloads
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>
Showing
- drivers/target/target_core_device.c 74 additions, 0 deletionsdrivers/target/target_core_device.c
- drivers/target/target_core_pscsi.c 1 addition, 52 deletionsdrivers/target/target_core_pscsi.c
- drivers/target/target_core_user.c 1 addition, 42 deletionsdrivers/target/target_core_user.c
- include/target/target_core_backend.h 2 additions, 0 deletionsinclude/target/target_core_backend.h
Loading
Please register or sign in to comment