Re: [PATCH] exfat: replace truncate_lock with inode_lock
Namjae Jeon <[email protected]>
| Newsgroups | dev.linux.lists.exfat,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <CAKYAXd_D4-hGgY-VrYS2HjB7C96GXpMk0xOfmddEQ-=Gy-D2Yg@mail.gmail.com> |
On Mon, Aug 17, 2026 at 3:20 PM Chi Zhiling <[email protected]> wrote: > > From: Chi Zhiling <[email protected]> > > 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 <[email protected]> Applied it to #dev. Thanks!