Bug 16469
Summary: | pathconf(, _PC_NAME_MAX) returns small value for long Unicode filename on fat FS | ||
---|---|---|---|
Product: | File System | Reporter: | Takumi Asaki (takumi.asaki) |
Component: | FAT/VFAT/MSDOS | Assignee: | OGAWA Hirofumi (hirofumi) |
Status: | CLOSED CODE_FIX | ||
Severity: | normal | CC: | florian |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.32-23-generic (ubuntu 10.04) | Subsystem: | |
Regression: | No | Bisected commit-id: | |
Attachments: |
test program
Fix f_namelen |
Description
Takumi Asaki
2010-07-27 08:29:08 UTC
Created attachment 27265 [details]
test program
Created attachment 54142 [details]
Fix f_namelen
Sorry for long delay.
Attached patch should fix this, and will included future kernel.
But, I'm not pretty sure if there is no userland breakage (for now,
I didn't found though). Let's see.
A patch referencing this bug report has been merged in v3.0-rc1: commit f68e542f3478147986a9c8958942ec649dc06201 Author: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp> Date: Tue Apr 12 21:08:39 2011 +0900 fat: Fix statfs->f_namelen |