[GIT PULL] exfat update for 6.13-rc1

From: Namjae Jeon
Date: Wed Nov 27 2024 - 20:15:25 EST


Hi Linus,

This is exfat update pull request for v6.13-rc1. I add description of
this pull request on below. Please pull exfat with following ones.

Thanks!

The following changes since commit 9f16d5e6f220661f73b36a4be1b21575651d8833:

Merge tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm
(2024-11-23 16:00:50 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/linkinjeon/exfat.git
tags/exfat-for-6.13-rc1

for you to fetch changes up to 8a3f5711ad74db9881b289a6e34d7f3b700df720:

exfat: reduce FAT chain traversal (2024-11-25 17:08:27 +0900)

----------------------------------------------------------------
Description for this pull request:
- Handle it as the empty directory if the start cluster of stream entry
is invalid.
- Valid size of steam entry cannot be greater than data size.
If valid_size is invalid, Deal with data_size.
- Move Direct-IO alignment check to before extending the valid size.
- Fix uninit-value issue reported by syzbot.
- Optimize to find directory entry-set in write_inode, rename, unlink.

----------------------------------------------------------------
Namjae Jeon (1):
exfat: fix uninit-value in __exfat_get_dentry_set

Yuezhang Mo (9):
exfat: fix out-of-bounds access of directory entries
exfat: fix file being changed by unaligned direct write
exfat: remove unnecessary read entry in __exfat_rename()
exfat: rename argument name for exfat_move_file and exfat_rename_file
exfat: add exfat_get_dentry_set_by_ei() helper
exfat: move exfat_chain_set() out of __exfat_resolve_path()
exfat: remove argument 'p_dir' from exfat_add_entry()
exfat: code cleanup for exfat_readdir()
exfat: reduce FAT chain traversal

fs/exfat/dir.c | 29 ++------
fs/exfat/exfat_fs.h | 6 ++
fs/exfat/file.c | 10 +++
fs/exfat/inode.c | 2 +-
fs/exfat/namei.c | 194 ++++++++++++++++++++++++----------------------------
5 files changed, 113 insertions(+), 128 deletions(-)