From: Nicholas Bellinger Date: Sun, 8 Feb 2015 20:39:06 +0000 (-0800) Subject: target: Move cmd->prot_op check into target_write_prot_action X-Git-Tag: omap-for-v4.1/fixes-rc1~30^2~49 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa58b53168e12342aa0561c12bf5d6729487c63e;p=pandora-kernel.git target: Move cmd->prot_op check into target_write_prot_action This patch moves the existing target_execute_cmd() check for cmd->prot_op into it's own function, so it's easier to add future support for WRITE STRIP. (Use better target_write_prot_action name - Sagi) Reviewed-by: Martin Petersen Reviewed-by: Sagi Grimberg Cc: Christoph Hellwig Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed