linux/fs/exfat
Yuezhang Mo 51fc7b4ce1 exfat: fix remount failure in different process environments
The kernel test robot reported that the exFAT remount operation
failed. The reason for the failure was that the process's umask
is different between mount and remount, causing fs_fmask and
fs_dmask are changed.

Potentially, both gid and uid may also be changed. Therefore, when
initializing fs_context for remount, inherit these mount options
from the options used during mount.

Reported-by: kernel test robot <oliver.sang@intel.com>
Closes: https://lore.kernel.org/oe-lkp/202511251637.81670f5c-lkp@intel.com
Signed-off-by: Yuezhang Mo <Yuezhang.Mo@sony.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
2025-12-03 10:00:17 +09:00
..
Kconfig fs: add CONFIG_BUFFER_HEAD 2023-08-02 09:13:09 -06:00
Makefile exfat: add Kconfig and Makefile 2020-03-05 21:00:40 -05:00
balloc.c exfat: fix divide-by-zero in exfat_allocate_bitmap 2025-12-03 10:00:16 +09:00
cache.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
dir.c exfat: validate the cluster bitmap bits of directory 2025-12-03 10:00:16 +09:00
exfat_fs.h exfat: validate the cluster bitmap bits of directory 2025-12-03 10:00:16 +09:00
exfat_raw.h exfat: Add support for FS_IOC_{GET,SET}FSLABEL 2025-09-30 13:49:31 +09:00
fatent.c exfat: validate the cluster bitmap bits of directory 2025-12-03 10:00:16 +09:00
file.c exfat: zero out post-EOF page cache on file extension 2025-12-03 10:00:16 +09:00
inode.c exfat: drop redundant conversion to bool 2025-09-30 13:34:43 +09:00
misc.c exfat: convert to new timestamp accessors 2023-10-18 13:26:21 +02:00
namei.c exfat: fix refcount leak in exfat_find 2025-12-03 10:00:16 +09:00
nls.c exfat: fix out-of-bounds in exfat_nls_to_ucs2() 2025-10-15 17:53:20 +09:00
super.c exfat: fix remount failure in different process environments 2025-12-03 10:00:17 +09:00