summaryrefslogtreecommitdiff
path: root/include/uapi/linux
diff options
context:
space:
mode:
authorDaeMyung Kang <charsyam@gmail.com>2026-10-12 20:27:55 +0900
committerNamjae Jeon <linkinjeon@kernel.org>2026-10-13 21:38:14 +0900
commit771bec7d9b8bacf0057e6cd7cf465bf3152c7df9 (patch)
treec8511aedcc4c0a7149d72d3280c9e040e05d1ba5 /include/uapi/linux
parent61ddd31da5b8a02efc5214cbf01820ce3122ca9f (diff)
downloadlinux-next-771bec7d9b8bacf0057e6cd7cf465bf3152c7df9.tar.gz
linux-next-771bec7d9b8bacf0057e6cd7cf465bf3152c7df9.zip
ntfs: compare streams_interface with mounted volume on remount
During reconfiguration, fc->s_fs_info points to a newly allocated ntfs_volume. It does not contain the mounted volume's stream setting. Consequently, a windows mount rejects a remount with the same streams_interface=windows setting, but accepts streams_interface=none without changing the active pathname interface. This also breaks an ordinary read-only remount when the existing windows setting is passed again, for example from fstab. Compare the requested setting with the mounted volume instead. Report an unsupported change with ntfs_warning() so it does not invoke the mounted filesystem's error-handling policy. Fixes: 2de2cdd9cc08 ("ntfs: add pathname access for named streams") Signed-off-by: DaeMyung Kang <charsyam@gmail.com> Reviewed-by: Baolin Liu <liubaolin@kylinos.cn> Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions