Re: [PATCH] exfat: speed up file creation in large directories
From: Yang Wen
Date: Mon Aug 31 2026 - 15:15:27 EST
Hi Zhiling,
On 31 Aug 2026 09:10:32, Chi Zhiling wrote:
> The exfat_free_inode() could be called in softirq context, see
> destroy_inode() in fs/inode.c, which calls free_inode() via call_rcu(),
>
> so you can't call exfat_name_filter_free() from exfat_free_inode(). It
> should be moved to exfat_evict_inode(), otherwise LOCKDEP will report a
> warning.
Thanks for pointing this out. You are right that ->free_inode() may be
called from an RCU callback in softirq context.
I moved exfat_name_filter_free() from exfat_free_inode() to
exfat_evict_inode().
Thanks.