summaryrefslogtreecommitdiff
path: root/fs/cifs/cached_dir.h
diff options
context:
space:
mode:
authorSteve French <stfrench@microsoft.com>2023-05-24 03:26:19 -0500
committerSteve French <stfrench@microsoft.com>2023-05-24 16:26:44 -0500
commitcb8b02fd6343228966324528adf920bfb8b8e681 (patch)
tree1d496d796c4a98a2e10e4a4425c1861a66520597 /fs/cifs/cached_dir.h
parent8b4dd44f9b4702d42362b97b81c91b33a6dcea58 (diff)
cifs: mapchars mount option ignored
There are two ways that special characters (not allowed in some other operating systems like Windows, but allowed in POSIX) have been mapped in the past ("SFU" and "SFM" mappings) to allow them to be stored in a range reserved for special chars. The default for Linux has been to use "mapposix" (ie the SFM mapping) but the conversion to the new mount API in the 5.11 kernel broke the ability to override the default mapping of the reserved characters (like '?' and '*' and '\') via "mapchars" mount option. This patch fixes that - so can now mount with "mapchars" mount option to override the default ("mapposix" ie SFM) mapping. Reported-by: Tyler Spivey <tspivey8@gmail.com> Fixes: 24e0a1eff9e2 ("cifs: switch to new mount api") Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'fs/cifs/cached_dir.h')
0 files changed, 0 insertions, 0 deletions