Re: [PATCH] block: pass correct prot_buf pointer to integrity metadata processing function

2015-01-14 Thread Martin K. Petersen
> "Sam" == Sam Bradshaw writes: Hey Sam, Sam> The prot_buf pointer passed to the generate/verify functions is Sam> incorrect for the second and subsequent range, making it impossible Sam> to verify the guard tag. The patch correctly increments the Sam> prot_buf pointer by the tuple size

[PATCH] block: pass correct prot_buf pointer to integrity metadata processing function

2015-01-14 Thread Sam Bradshaw
The prot_buf pointer passed to the generate/verify functions is incorrect for the second and subsequent range, making it impossible to verify the guard tag. The patch correctly increments the prot_buf pointer by the tuple size for each pass. Signed-off-by: Sam Bradshaw --- diff --git

[PATCH] block: pass correct prot_buf pointer to integrity metadata processing function

2015-01-14 Thread Sam Bradshaw
The prot_buf pointer passed to the generate/verify functions is incorrect for the second and subsequent range, making it impossible to verify the guard tag. The patch correctly increments the prot_buf pointer by the tuple size for each pass. Signed-off-by: Sam Bradshaw sbrads...@micron.com

Re: [PATCH] block: pass correct prot_buf pointer to integrity metadata processing function

2015-01-14 Thread Martin K. Petersen
Sam == Sam Bradshaw sbrads...@micron.com writes: Hey Sam, Sam The prot_buf pointer passed to the generate/verify functions is Sam incorrect for the second and subsequent range, making it impossible Sam to verify the guard tag. The patch correctly increments the Sam prot_buf pointer by the