Re: [PATCH] efs: fix direct extent lookup for indirect extents

From: Matthew Wilcox

Date: Thu Jun 18 2026 - 17:19:48 EST


On Fri, Jun 19, 2026 at 01:00:05AM +0530, Keshav Verma wrote:
> The loop that finds the direct extent containing an indirect extent used
> cur < ibase as its condition. Since ibase starts at zero, the loop never
> advances for normal non-negative cur values, so only the first direct
> extent is considered.
>
> Iterate over the direct extents and stop when cur falls within the range
> covered by the current direct extent.

Nah.

https://lore.kernel.org/linux-fsdevel/20260618211822.3599089-1-willy@xxxxxxxxxxxxx/