On Thu, 2013-12-19 at 14:36 +0100, Hannes Reinecke wrote: > When a writing to a command-provided buffer we need to ensure > that we're not writing past the end of it. > At the same time we need to continue processing as typically > the final data length (ie the required size of the buffer) > need to be returned. > > Signed-off-by: Hannes Reinecke <hare@xxxxxxx> > --- > drivers/target/target_core_alua.c | 23 +++++++++++++++++------ > 1 file changed, 17 insertions(+), 6 deletions(-) > Applied. Thanks Hannes! --nab -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html