diff options
author | Pali Rohár <pali@kernel.org> | 2021-08-08 18:24:37 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-09-22 11:47:49 +0200 |
commit | 891ab1769ff1cc40fff0fcea0f4b359f115effde (patch) | |
tree | f821d73ed5c2fdbf6d9a1501bf99562836477eb9 /include/misc | |
parent | dd6ab4e1c2b6a22318f2526282dbf33c7fb51151 (diff) | |
download | linux-stable-891ab1769ff1cc40fff0fcea0f4b359f115effde.tar.gz linux-stable-891ab1769ff1cc40fff0fcea0f4b359f115effde.tar.bz2 linux-stable-891ab1769ff1cc40fff0fcea0f4b359f115effde.zip |
isofs: joliet: Fix iocharset=utf8 mount option
[ Upstream commit 28ce50f8d96ec9035f60c9348294ea26b94db944 ]
Currently iocharset=utf8 mount option is broken. To use UTF-8 as iocharset,
it is required to use utf8 mount option.
Fix iocharset=utf8 mount option to use be equivalent to the utf8 mount
option.
If UTF-8 as iocharset is used then s_nls_iocharset is set to NULL. So
simplify code around, remove s_utf8 field as to distinguish between UTF-8
and non-UTF-8 it is needed just to check if s_nls_iocharset is set to NULL
or not.
Link: https://lore.kernel.org/r/20210808162453.1653-5-pali@kernel.org
Signed-off-by: Pali Rohár <pali@kernel.org>
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/misc')
0 files changed, 0 insertions, 0 deletions