]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/target/target_core_user.c
tcmu: fix sense handling during completion
authorMike Christie <mchristi@redhat.com>
Wed, 31 May 2017 20:52:40 +0000 (15:52 -0500)
committerNicholas Bellinger <nab@linux-iscsi.org>
Fri, 7 Jul 2017 06:11:46 +0000 (23:11 -0700)
commit406f74c20dc258f8258b64d16d159c3fff06a506
tree12613727fab75dbed4182e0a8e68262de0f2be28
parentc6d66aba98a39cfed206c5c61f0a604ba09b26ce
tcmu: fix sense handling during completion

We were just copying the sense to the cmd sense_buffer and
did not implement a transport_complete or set the
SCF_TRANSPORT_TASK_SENSE, so the sense was ignored.

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