Re: [PATCH v2 1/1] exfat: preserve the next empty-entry hint after allocation

From: Namjae Jeon

Date: Sat Jun 13 2026 - 11:00:00 EST


On Sat, Jun 13, 2026 at 10:39 PM Yang Wen <anmuxixixi@xxxxxxxxx> wrote:
>
> Advance and preserve the empty-entry hint when only part of a contiguous
> empty range is consumed.
>
> This allows the next file creation to reuse the remaining range without
> scanning the directory again.
>
> Signed-off-by: Yang Wen <anmuxixixi@xxxxxxxxx>
a build error happens as shown below, but I have directly fixed it and
applied it to #dev.
Thanks!

fs/exfat/namei.c: In function ‘exfat_find_empty_entry’:
fs/exfat/namei.c:348:17: error: ‘prev_hint_femp’ undeclared