From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755436AbcEYP1X (ORCPT ); Wed, 25 May 2016 11:27:23 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:60595 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754331AbcEYP1W (ORCPT ); Wed, 25 May 2016 11:27:22 -0400 Subject: Re: Regression in 4.6.0-git - bisected to commit dd254f5a382c Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Content-Type: text/plain; charset=us-ascii From: Matthew McClintock In-Reply-To: <20160525062434.GE14480@ZenIV.linux.org.uk> Date: Wed, 25 May 2016 10:27:18 -0500 Cc: Larry Finger , LKML Content-Transfer-Encoding: 7bit Message-Id: References: <57437683.30008@lwfinger.net> <20160524001854.GW14480@ZenIV.linux.org.uk> <57447CE1.9020207@lwfinger.net> <6E57F7A4-59B0-46EA-9FFF-D0A4BA2D8E51@codeaurora.org> <5744A899.70503@lwfinger.net> <3988EB49-F17D-452B-A1AD-F202265B1BCA@codeaurora.org> <5744AD31.4090808@lwfinger.net> <2D6D38D9-FE06-4115-8FB2-48CB2FB19809@codeaurora.org> <20160524234133.GA14480@ZenIV.linux.org.uk> <20160525062434.GE14480@ZenIV.linux.org.uk> To: Al Viro X-Mailer: Apple Mail (2.3124) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On May 25, 2016, at 1:24 AM, Al Viro 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