commit | fdeab852983249fd1b8859f8bf54a5bfd8581c90 | [log] [tgz] |
---|---|---|
author | Nicholas Bellinger <nab@linux-iscsi.org> | Sun Feb 08 02:53:25 2015 -0800 |
committer | Nicholas Bellinger <nab@linux-iscsi.org> | Tue Apr 07 23:26:56 2015 -0700 |
tree | 17c5d93be41dc552e0803c38f58b30df515b6978 | |
parent | 5132d1e655dc4befcc075ef32a261eb9733bb04c [diff] |
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 <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>