summaryrefslogtreecommitdiffstats
path: root/drivers/s390
diff options
context:
space:
mode:
authorNicholas Bellinger2015-02-28 07:42:11 +0100
committerNicholas Bellinger2015-04-08 08:25:39 +0200
commit823ddd877f3a5c301490196d369f68baa6c020e4 (patch)
treebf5f492cfd2cd5d9deb98882e6375648ea5308a2 /drivers/s390
parenttarget: add missing __user annotations (diff)
downloadkernel-qcow2-linux-823ddd877f3a5c301490196d369f68baa6c020e4.tar.gz
kernel-qcow2-linux-823ddd877f3a5c301490196d369f68baa6c020e4.tar.xz
kernel-qcow2-linux-823ddd877f3a5c301490196d369f68baa6c020e4.zip
target: Convert DIF emulation to use cmd->prot_type
This patch changes existing DIF emulation to check the command descriptor's prot_type, instead of what the backend device is exposing in pi_prot_type. Since this value is already set in sbc_check_prot(), go ahead and use it to allow protected fabrics to function with unprotected devices. Reviewed-by: Martin Petersen <martin.petersen@oracle.com> Reviewed-by: Sagi Grimberg <sagig@mellanox.com> Cc: Christoph Hellwig <hch@lst.de> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/s390')
0 files changed, 0 insertions, 0 deletions