]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
target: do not require a transport_complete for SCF_TRANSPORT_TASK_SENSE
authorMike Christie <mchristi@redhat.com>
Wed, 31 May 2017 20:52:38 +0000 (15:52 -0500)
committerNicholas Bellinger <nab@linux-iscsi.org>
Fri, 7 Jul 2017 06:11:44 +0000 (23:11 -0700)
commit9fe36984501035f2878aa10d83e79bfc07b7ad7e
tree1066b6176f04fa20e4536c97558d13aa35adea41
parentc82ff239ecf27dd5eddc91540f50321547a2d311
target: do not require a transport_complete for SCF_TRANSPORT_TASK_SENSE

tcmu needs to pass raw sense to target_complete_cmd, but a a
transport_complete callout is akward to implement for it.

This moves the check for SCF_TRANSPORT_TASK_SENSE so any backend
can pass sense.

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