Re: [PATCH] block: fix mp_bvec_for_each_page
From: Jens Axboe <axboe@kernel.dk>
Date: 2019-02-28 12:56:25
From: Jens Axboe <axboe@kernel.dk>
Date: 2019-02-28 12:56:25
On 2/28/19 5:29 AM, Ming Lei wrote:
mp_bvec_for_each_page() may miss the 1st page in case that the bvec ends before last byte of the 1st PAGE. So fix it by checking against the last page.
Thanks, I just folded this in. -- Jens Axboe