On Mon, 2015-03-30 at 11:02 +0300, Sagi Grimberg wrote: > On 3/30/2015 6:28 AM, Nicholas A. Bellinger wrote: > > From: Nicholas Bellinger <nab@xxxxxxxxxxxxxxx> > > > > 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. > > > > Cc: Martin Petersen <martin.petersen@xxxxxxxxxx> > > Cc: Sagi Grimberg <sagig@xxxxxxxxxxxx> > > Cc: Christoph Hellwig <hch@xxxxxx> > > Signed-off-by: Nicholas Bellinger <nab@xxxxxxxxxxxxxxx> > > --- > > drivers/target/target_core_transport.c | 21 +++++++++++++-------- > > 1 file changed, 13 insertions(+), 8 deletions(-) > > > > diff --git a/drivers/target/target_core_transport.c b/drivers/target/target_core_transport.c > > index 51b62bd..e603e34 100644 > > --- a/drivers/target/target_core_transport.c > > +++ b/drivers/target/target_core_transport.c > > @@ -1980,16 +1980,22 @@ static void transport_handle_queue_full( > > schedule_work(&cmd->se_dev->qf_work_queue); > > } > > > > -static bool target_check_read_strip(struct se_cmd *cmd) > > +static bool target_check_read_prot(struct se_cmd *cmd) > > Same comment on naming. Fixed. -- To unsubscribe from this list: send the line "unsubscribe target-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html