From: Sagi Grimberg Date: Wed, 19 Feb 2014 15:50:15 +0000 (+0200) Subject: Target/sbc: Set protection operation and relevant checks X-Git-Tag: v3.15-rc1~12^2~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=19f9361af7dfa0bb1f98c7619544ed71d2dded39;p=pandora-kernel.git Target/sbc: Set protection operation and relevant checks SBC-3 mandates the protection checks that must be performed in the rdprotect/wrprotect field. Use them. According to backstore device pi_attributes and cdb rdprotect/wrprotect field. (Fix incorrect se_cmd->prot_type -> TARGET_PROT_NORMAL comparision in transport_generic_new_cmd - nab) (Fix missing break in sbc_set_prot_op_checks - DanC + Sagi) Signed-off-by: Sagi Grimberg Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed