]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
exfat: fix error handling for FAT table operations
authorChi Zhiling <chizhiling@kylinos.cn>
Tue, 3 Mar 2026 03:14:09 +0000 (11:14 +0800)
committerNamjae Jeon <linkinjeon@kernel.org>
Thu, 5 Mar 2026 12:09:35 +0000 (21:09 +0900)
commitd1d75eaf01abceb3d5cb50253375b5f254b6be54
tree3ce5db43ae4c06893a847e149059baba3e252e91
parent636bd62299aea24684086d126ea88b23a6466f8e
exfat: fix error handling for FAT table operations

Fix three error handling issues in FAT table operations:

1. Fix exfat_update_bh() to properly return errors from sync_dirty_buffer
2. Fix exfat_end_bh() to properly return errors from exfat_update_bh()
   and exfat_mirror_bh()
3. Fix ignored return values from exfat_chain_cont_cluster() in inode.c
   and namei.c

These fixes ensure that FAT table write errors are properly propagated
to the caller instead of being silently ignored.

Signed-off-by: Chi Zhiling <chizhiling@kylinos.cn>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
fs/exfat/exfat_fs.h
fs/exfat/fatent.c
fs/exfat/inode.c
fs/exfat/misc.c
fs/exfat/namei.c