projects
/
platform
/
adaptation
/
renesas_rcar
/
renesas_kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6
[platform/adaptation/renesas_rcar/renesas_kernel.git]
/
fs
/
fat
/
namei_vfat.c
diff --git
a/fs/fat/namei_vfat.c
b/fs/fat/namei_vfat.c
index
8d6fdcf
..
73471b7
100644
(file)
--- a/
fs/fat/namei_vfat.c
+++ b/
fs/fat/namei_vfat.c
@@
-502,11
+502,11
@@
xlate_to_uni(const unsigned char *name, int len, unsigned char *outname,
if (utf8) {
int name_len = strlen(name);
if (utf8) {
int name_len = strlen(name);
- *outlen = utf8
_mbstowcs((wchar_t *)outname, name, PATH_MAX
);
+ *outlen = utf8
s_to_utf16s(name, PATH_MAX, (wchar_t *) outname
);
/*
* We stripped '.'s before and set len appropriately,
/*
* We stripped '.'s before and set len appropriately,
- * but utf8
_mbstowc
s doesn't care about len
+ * but utf8
s_to_utf16
s doesn't care about len
*/
*outlen -= (name_len - len);
*/
*outlen -= (name_len - len);