From 944981c7e106af2aa004847e9177497856630980 Mon Sep 17 00:00:00 2001 From: Nicholas Bellinger Date: Tue, 2 Oct 2012 14:00:33 -0700 Subject: [PATCH] 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 Signed-off-by: Nicholas Bellinger --- Reading git-format-patch failed