git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
869f58c
)
fat: Fix statfs->f_namelen
author
OGAWA Hirofumi
<hirofumi@mail.parknet.co.jp>
Tue, 12 Apr 2011 12:08:39 +0000
(21:08 +0900)
committer
OGAWA Hirofumi
<hirofumi@mail.parknet.co.jp>
Tue, 12 Apr 2011 12:12:50 +0000
(21:12 +0900)
pathconf(, _PC_NAME_MAX) is too small for long Unicode filename on fat.
255 as max filename size on fat is Unicode UTF-16 characters.
it's not byte size.
https://bugzilla.kernel.org/show_bug.cgi?id=16469
To fix it, this returns "len * NLS_MAX_CHARSET_SIZE" instead.
Reported-by: Takumi Asaki <takumi.asaki@nokia.com>
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
No differences found