From: Nicholas Bellinger Date: Tue, 10 Jun 2014 08:19:38 +0000 (-0700) Subject: vhost-scsi: Include prot_bytes into expected data transfer length X-Git-Tag: omap-for-v3.16/fixes-against-rc1~26^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9f977ef7b671f6169eca78bf40f230fe84b7c7e5;p=pandora-kernel.git vhost-scsi: Include prot_bytes into expected data transfer length This patch updates vhost_scsi_get_tag() to accept the combined expected data transfer length + T10 PI bytes as the value passed into target_submit_cmd(). This is required now that target-core logic in commit 14ef9200 expects to subtract se_cmd->prot_length from se_cmd->data_length. Cc: Paolo Bonzini Cc: Michael S. Tsirkin Cc: Martin K. Petersen Cc: Sagi Grimberg Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed