diff options
author | Andrew Gabbasov <andrew_gabbasov@mentor.com> | 2016-01-15 02:44:23 -0600 |
---|---|---|
committer | Jan Kara <jack@suse.cz> | 2016-02-09 13:05:23 +0100 |
commit | 484a10f49387e4386bf2708532e75bf78ffea2cb (patch) | |
tree | f9d39341f8f6bcf20dfd6ca6573fa46ea622843c /fs/quota | |
parent | 9293fcfbc1812a22ad5ce1b542eb90c1bbe01be1 (diff) | |
download | linux-484a10f49387e4386bf2708532e75bf78ffea2cb.tar.bz2 |
udf: Merge linux specific translation into CS0 conversion function
Current implementation of udf_translate_to_linux function does not
support multi-bytes characters at all: it counts bytes while calculating
extension length, when inserting CRC inside the name it doesn't
take into account inter-character boundaries and can break into
the middle of the character.
The most efficient way to properly support multi-bytes characters is
merging of translation operations directly into conversion function.
This can help to avoid extra passes along the string or parsing
the multi-bytes character back into unicode to find out it's length.
Signed-off-by: Andrew Gabbasov <andrew_gabbasov@mentor.com>
Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/quota')
0 files changed, 0 insertions, 0 deletions