From: Nicholas Bellinger Date: Tue, 14 Apr 2015 18:55:01 +0000 (-0700) Subject: target/sbc: Return INVALID_CDB_FIELD if DIF + sess_prot_type disabled X-Git-Tag: omap-for-v4.2/o2_dc~20^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cceca4a638708c7f62e60f9f99684a8d57358dd0;p=pandora-kernel.git target/sbc: Return INVALID_CDB_FIELD if DIF + sess_prot_type disabled In sbc_check_prot(), if PROTECT is non-zero for a backend device with DIF disabled, and sess_prot_type is not set go ahead and return INVALID_CDB_FIELD. Reviewed-by: Martin Petersen Reviewed-by: Sagi Grimberg Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed