diff options
author | Andreas Dilger <adilger@whamcloud.com> | 2011-07-07 00:20:32 -0400 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2011-07-07 00:20:32 -0400 |
commit | de283087c74f720cf8a7171972e72b5fa2b45e79 (patch) | |
tree | b376ff8d11fe28a8a191b049506028060548b4f4 /sysdeps/unix/sysv/linux/pathconf.c | |
parent | c75fa153a93eca56aec4f398770d3afc249ae5b5 (diff) | |
download | glibc-de283087c74f720cf8a7171972e72b5fa2b45e79.tar.gz glibc-de283087c74f720cf8a7171972e72b5fa2b45e79.tar.xz glibc-de283087c74f720cf8a7171972e72b5fa2b45e79.zip |
Handle Lustre filesystem
Diffstat (limited to 'sysdeps/unix/sysv/linux/pathconf.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/pathconf.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/pathconf.c b/sysdeps/unix/sysv/linux/pathconf.c index 52610a14d8..42b7b80c39 100644 --- a/sysdeps/unix/sysv/linux/pathconf.c +++ b/sysdeps/unix/sysv/linux/pathconf.c @@ -121,6 +121,9 @@ __statfs_link_max (int result, const struct statfs *fsbuf) case XFS_SUPER_MAGIC: return XFS_LINK_MAX; + case LUSTRE_SUPER_MAGIC: + return LUSTRE_LINK_MAX; + default: return LINUX_LINK_MAX; } @@ -157,6 +160,7 @@ __statfs_filesize_max (int result, const struct statfs *fsbuf) case JFS_SUPER_MAGIC: case VXFS_SUPER_MAGIC: case CGROUP_SUPER_MAGIC: + case LUSTRE_SUPER_MAGIC: return 64; case MSDOS_SUPER_MAGIC: |