]> git.ipfire.org Git - thirdparty/linux.git/commit
exfat: support modifying mount options via remount
authorYuezhang Mo <Yuezhang.Mo@sony.com>
Thu, 11 Sep 2025 08:54:31 +0000 (16:54 +0800)
committerNamjae Jeon <linkinjeon@kernel.org>
Tue, 30 Sep 2025 04:34:43 +0000 (13:34 +0900)
commite6fd5d3a431708df8f43d970bd3ba8a70a034fd5
tree06c4ad8945595bd52d355ce00492237649b436a5
parent9fd688678dd86e3be32a35e3b2c5cc3ef0c4e257
exfat: support modifying mount options via remount

Before this commit, all exfat-defined mount options could not be
modified dynamically via remount, and no error was returned.

After this commit, these three exfat-defined mount options
(discard, zero_size_dir, and errors) can be modified dynamically
via remount. While other exfat-defined mount options cannot be
modified dynamically via remount because their old settings are
cached in inodes or dentries, modifying them will be rejected with
an error.

Signed-off-by: Yuezhang Mo <Yuezhang.Mo@sony.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
fs/exfat/super.c