diff options
author | Ulrich Drepper <drepper@gmail.com> | 2011-07-07 10:53:16 -0400 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2011-07-07 10:53:16 -0400 |
commit | 4e5f31c847982997c856f03bbc35134e9fd0f61f (patch) | |
tree | 218f0da37b738c1eb8cce3ce4fedd252e5a74cb0 /ChangeLog | |
parent | de283087c74f720cf8a7171972e72b5fa2b45e79 (diff) | |
download | glibc-4e5f31c847982997c856f03bbc35134e9fd0f61f.tar.gz glibc-4e5f31c847982997c856f03bbc35134e9fd0f61f.tar.xz glibc-4e5f31c847982997c856f03bbc35134e9fd0f61f.zip |
Handle ext4 in {,f}pathconf
ext4 has a higher LINK_MAX limit than ext2/3. Unfortunately it is not easy to distinguish the filesystems from userlevel.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 6225871c2b..050bff3499 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,15 @@ 2011-07-07 Ulrich Drepper <drepper@gmail.com> + * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function. + (__statfs_link_max): Use it to dostinguish between ext2/3 and ext4. + The latter has a higher limit. Take additional parameter to pass to + the new function. + (__pathconf): Pass file to __statfs_link_max. + * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to + __statfs_link_max. + * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of + __statfs_link_max. + [BZ #12868] * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants. * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags): |