aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorOGAWA Hirofumi <hirofumi@mail.parknet.co.jp>2011-04-12 21:08:39 +0900
committerOGAWA Hirofumi <hirofumi@mail.parknet.co.jp>2011-04-12 21:12:50 +0900
commitf68e542f3478147986a9c8958942ec649dc06201 (patch)
tree90b4c8b6a087992a67a15e508b25cc29b14f30fb /tools/perf/scripts/python/net_dropmonitor.py
parentfat: Replace all printk with fat_msg() (diff)
downloadlinux-dev-f68e542f3478147986a9c8958942ec649dc06201.tar.xz
linux-dev-f68e542f3478147986a9c8958942ec649dc06201.zip
fat: Fix statfs->f_namelen
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>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions