[GIT PULL] exfat fixes for 6.14-rc6
From: Namjae Jeon
Date: Thu Mar 06 2025 - 07:41:52 EST
Hi Linus,
This is exfat fixes pull request for v6.14-rc6. I add description of
this pull request on below. Please pull exfat with following fixes.
Thanks!
The following changes since commit 48a5eed9ad584315c30ed35204510536235ce402:
Merge tag 'devicetree-fixes-for-6.14-2' of
git://git.kernel.org/pub/scm/linux/kernel/git/robh/linux (2025-03-04
09:04:29 -1000)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/linkinjeon/exfat.git
tags/exfat-for-6.14-rc6
for you to fetch changes up to 13940cef95491472760ca261b6713692ece9b946:
exfat: add a check for invalid data size (2025-03-05 21:53:20 +0900)
----------------------------------------------------------------
Description for this pull request:
- Optimize new cluster allocation by correctly find empty entry slot.
- Add the check to prevent excessive bitmap clearing due to invalid
data size of file/dir entry.
- Fix incorrect error return for zero-byte writes.
----------------------------------------------------------------
Eric Sandeen (1):
exfat: short-circuit zero-byte writes in exfat_file_write_iter
Namjae Jeon (1):
exfat: fix soft lockup in exfat_clear_bitmap
Yuezhang Mo (2):
exfat: fix just enough dentries but allocate a new cluster to dir
exfat: add a check for invalid data size
fs/exfat/balloc.c | 10 ++++++++--
fs/exfat/exfat_fs.h | 2 +-
fs/exfat/fatent.c | 11 +++++++----
fs/exfat/file.c | 2 +-
fs/exfat/namei.c | 7 ++++++-
5 files changed, 23 insertions(+), 9 deletions(-)