From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jens Axboe Subject: Re: [PATCH v2] block: fix regression where bio_integrity_process uses wrong bio_vec iterator Date: Tue, 02 Dec 2014 08:15:45 -0700 Message-ID: <547DD7A1.3040405@kernel.dk> References: <20141126014025.GD10050@birch.djwong.org> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: linux-kernel@vger.kernel.org, linux-fsdevel To: "Martin K. Petersen" , "Darrick J. Wong" Return-path: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On 11/25/2014 09:57 PM, Martin K. Petersen wrote: >>>>>> "Darrick" == Darrick J Wong writes: > > Darrick> Therefore, teach bio_integrity_process() to use > Darrick> bio_for_each_segment() to iterate the bio_vecs, since the > Darrick> per-bio iterator tracks which bio_vecs are associated with that > Darrick> particular bio. The integrity handling code is effectively > Darrick> part of the "driver" (it's not the bio owner), so it must use > Darrick> the correct iterator function. > > Acked-by: Martin K. Petersen Applied for 3.18. -- Jens Axboe