diff options
| author | DaeMyung Kang <charsyam@gmail.com> | 2026-10-12 20:27:55 +0900 |
|---|---|---|
| committer | Namjae Jeon <linkinjeon@kernel.org> | 2026-10-20 18:46:00 +0900 |
| commit | 16702fb84fe27f5a5dfc398d6254b9d79fe3e144 (patch) | |
| tree | 0f64300405d227128caac05020010e196b160bdb /scripts/Makefile.thinlto | |
| parent | d45f99f816c9e40cf89b93b90396b1503eda1e47 (diff) | |
| download | linux-16702fb84fe27f5a5dfc398d6254b9d79fe3e144.tar.gz linux-16702fb84fe27f5a5dfc398d6254b9d79fe3e144.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 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
