diff options
author | Nicholas Bellinger <nab@linux-iscsi.org> | 2012-10-02 23:00:33 +0200 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2012-10-02 23:16:19 +0200 |
commit | 944981c7e106af2aa004847e9177497856630980 (patch) | |
tree | cc3f3e84f26a13c18adb7b84055147ed9ea45b88 /drivers/vhost/tcm_vhost.c | |
parent | tcm_loop: Convert I/O path to use target_submit_cmd_map_sgls (diff) | |
download | linux-944981c7e106af2aa004847e9177497856630980.tar.xz linux-944981c7e106af2aa004847e9177497856630980.zip |
target: Add control CDB READ payload zero work-around
This patch carries forward a work-around from tcm_loop to target
core code to explicitly clear control CDB READ paylods in order to
avoid bugs in scsi-generic user-space code for INQUIRY that do not
explicitly zero CDB payload memory.
(v2: Drop TARGET_SCF_MAP_CLEAR_MEM, and perform the explicit zero
of READ memory for all target_submit_cmd_map_sgls users)
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/vhost/tcm_vhost.c')
0 files changed, 0 insertions, 0 deletions