diff options
| author | Namjae Jeon <linkinjeon@kernel.org> | 2026-07-25 12:00:00 +0900 |
|---|---|---|
| committer | Namjae Jeon <linkinjeon@kernel.org> | 2026-08-19 18:16:45 +0900 |
| commit | 71feaa7686fb9cc08fc81c8a09d120b6204b51a0 (patch) | |
| tree | 845fed1ae6ecf4a79472af27886f60cfaa22e8bf /tools/perf/scripts/python/bin | |
| parent | dc09bf79b76f9a7157e225f449655f3f62f96c9c (diff) | |
ntfs: apply Windows name checks only with windows_names
The windows_names mount option is documented to reject names containing
characters forbidden by Windows. However, ntfs_check_bad_windows_name()
unconditionally rejects those characters before checking the mount option.
Move the character validation after the option check so a default NTFS
mount accepts POSIX names such as names containing ':'. Mounts using
windows_names retain the existing Windows-compatible validation, including
reserved device names and trailing spaces or dots.
Fixes: af0db57d4293 ("ntfs: update inode operations")
Reviewed-by: Hyunchul Lee <hyc.lee@gmail.com>
Signed-off-by: Namjae Jeon <linkinjeon@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
