Re: Regression in 4.6.0-git - bisected to commit dd254f5a382c
From: Matthew McClintock
Date: Wed May 25 2016 - 11:27:26 EST
On May 25, 2016, at 1:24 AM, Al Viro <viro@xxxxxxxxxxxxxxxxxx> wrote:
>
> diff --git a/lib/iov_iter.c b/lib/iov_iter.c
> index 28cb431..0cd5227 100644
> --- a/lib/iov_iter.c
> +++ b/lib/iov_iter.c
> @@ -101,7 +101,7 @@
> #define iterate_and_advance(i, n, v, I, B, K) { \
> if (unlikely(i->count < n)) \
> n = i->count; \
> - if (n) { \
> + if (i->count) { \
> size_t skip = i->iov_offset; \
> if (unlikely(i->type & ITER_BVEC)) { \
> const struct bio_vec *bvec; \
>
> Could you see if your reproducer is fixed by that?
Yes, this fixes my issue.
-M