From: Nicholas Bellinger Date: Tue, 14 Apr 2015 18:57:43 +0000 (-0700) Subject: target/sbc: Make internal DIF emulation honor ->prot_checks X-Git-Tag: omap-for-v4.2/o2_dc~20^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d7a463b0acc3fecf9d01cd5d518bf46578658ff3;p=pandora-kernel.git target/sbc: Make internal DIF emulation honor ->prot_checks The internal DIF emulation was not honoring se_cmd->prot_checks for the WRPROTECT/RDPROTECT == 0x3 case, so sbc_dif_v1_verify() has been updated to follow which checks have been calculated based on WRPROTECT/RDPROTECT in sbc_set_prot_op_checks(). Reviewed-by: Martin Petersen Reviewed-by: Sagi Grimberg Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed