commit | aa58b53168e12342aa0561c12bf5d6729487c63e | [log] [tgz] |
---|---|---|
author | Nicholas Bellinger <nab@linux-iscsi.org> | Sun Feb 08 12:39:06 2015 -0800 |
committer | Nicholas Bellinger <nab@linux-iscsi.org> | Tue Apr 07 23:26:25 2015 -0700 |
tree | 6f151ca0067ba6eae5f1c93d984201b655369af6 | |
parent | 9ef5466ee2f0599caf8d84203d36e581c6fc7035 [diff] |
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 <martin.petersen@oracle.com> Reviewed-by: Sagi Grimberg <sagig@mellanox.com> Cc: Christoph Hellwig <hch@lst.de> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>