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/internal_statvfs.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/internal_statvfs.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/internal_statvfs.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/internal_statvfs.c b/sysdeps/unix/sysv/linux/internal_statvfs.c index 828854806c..2ddec1edba 100644 --- a/sysdeps/unix/sysv/linux/internal_statvfs.c +++ b/sysdeps/unix/sysv/linux/internal_statvfs.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1998-2006, 2010 Free Software Foundation, Inc. +/* Copyright (C) 1998-2006, 2010, 2011 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998. @@ -115,6 +115,9 @@ __statvfs_getflags (const char *name, int fstype, struct stat64 *st) case CGROUP_SUPER_MAGIC: fsname = "cgroup"; break; + case LUSTRE_SUPER_MAGIC: + fsname = "lustre"; + break; } FILE *mtab = __setmntent ("/proc/mounts", "r"); |