Re: [PATCH] exfat: replace truncate_lock with inode_lock
From: Namjae Jeon
Date: Mon Aug 17 2026 - 03:21:43 EST
On Mon, Aug 17, 2026 at 3:20 PM Chi Zhiling <chizhiling@xxxxxxx> wrote:
>
> From: Chi Zhiling <chizhiling@xxxxxxxxxx>
>
> Remove the per-inode truncate_lock and rely on inode_lock instead.
> exfat_setattr() truncates under inode_lock (held exclusively by the
> VFS callers), and exfat_aop_bmap() now takes inode_lock shared to
> exclude a concurrent truncate, providing the same mutual exclusion
> with a single lock.
>
> Signed-off-by: Chi Zhiling <chizhiling@xxxxxxxxxx>
Applied it to #dev.
Thanks!