From: Nicholas Bellinger Date: Sun, 8 Feb 2015 10:53:25 +0000 (-0800) Subject: target: Move cmd->prot_op check into target_read_prot_action X-Git-Tag: omap-for-v4.2/o2_dc~20^2~47 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fdeab852983249fd1b8859f8bf54a5bfd8581c90;p=pandora-kernel.git target: Move cmd->prot_op check into target_read_prot_action This patch moves the existing target_complete_ok_work() check for cmd->prot_op into it's own function, so it's easier to add future support for READ INSERT. Reviewed-by: Martin Petersen Reviewed-by: Sagi Grimberg Cc: Christoph Hellwig Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed