Re: [PATCH 2/2] iov_iter: iov_folioq_get_pages: don't leave empty slot behind
From: David Howells
Date: Mon Aug 11 2025 - 10:44:45 EST
Dominique Martinet via B4 Relay wrote:
> From: Dominique Martinet <asmadeus@xxxxxxxxxxxxx>
>
> After advancing into a folioq it makes more sense to point to the next
> slot than at the end of the current slot.
> This should not be needed for correctness, but this also happens to
> "fix" the 9p bug with iterate_folioq() not copying properly.
>
> Signed-off-by: Dominique Martinet <asmadeus@xxxxxxxxxxxxx>
Acked-by: David Howells <dhowells@xxxxxxxxxx>