diff options
author | Mike Christie <mchristi@redhat.com> | 2017-05-31 23:52:41 +0300 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2017-07-07 09:11:46 +0300 |
commit | dce6ce8cfb842c333094c3eb2e3ea66b1edb02ad (patch) | |
tree | 6cd1003adc146f5deaecaaf1b91190db7c71c961 /drivers/target/target_core_pscsi.h | |
parent | 406f74c20dc258f8258b64d16d159c3fff06a506 (diff) | |
download | linux-dce6ce8cfb842c333094c3eb2e3ea66b1edb02ad.tar.xz |
pscsi: finish cmd processing from pscsi_req_done
This patch performs the pscsi_transport_complete operations from
pscsi_req_done. It looks like the only difference the transport_complete
callout provides is that it is called under t_state_lock which seems to
only be needed for the SCF_TRANSPORT_TASK_SENSE bit handling. We can
now use transport_copy_sense_to_cmd to handle the se_cmd sense bits, and
we can then drop the code where we have to copy the request info to
the pscsi_plugin_task for transport_complete use.
Signed-off-by: Mike Christie <mchristi@redhat.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/target_core_pscsi.h')
-rw-r--r-- | drivers/target/target_core_pscsi.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/target/target_core_pscsi.h b/drivers/target/target_core_pscsi.h index 8a02fa47c7e8..b86fb0e1b783 100644 --- a/drivers/target/target_core_pscsi.h +++ b/drivers/target/target_core_pscsi.h @@ -23,10 +23,6 @@ struct scsi_device; struct Scsi_Host; struct pscsi_plugin_task { - unsigned char pscsi_sense[TRANSPORT_SENSE_BUFFER]; - int pscsi_direction; - int pscsi_result; - u32 pscsi_resid; unsigned char pscsi_cdb[0]; } ____cacheline_aligned; |