aboutsummaryrefslogtreecommitdiffstats
path: root/sysdeps/unix/sysv/linux/internal_statvfs.c
diff options
context:
space:
mode:
authorAndreas Dilger <adilger@whamcloud.com>2011-07-07 00:20:32 -0400
committerUlrich Drepper <drepper@gmail.com>2011-07-07 00:20:32 -0400
commitde283087c74f720cf8a7171972e72b5fa2b45e79 (patch)
treeb376ff8d11fe28a8a191b049506028060548b4f4 /sysdeps/unix/sysv/linux/internal_statvfs.c
parentc75fa153a93eca56aec4f398770d3afc249ae5b5 (diff)
downloadtermbaud-de283087c74f720cf8a7171972e72b5fa2b45e79.tar.gz
termbaud-de283087c74f720cf8a7171972e72b5fa2b45e79.tar.xz
termbaud-de283087c74f720cf8a7171972e72b5fa2b45e79.zip
Handle Lustre filesystem
Diffstat (limited to 'sysdeps/unix/sysv/linux/internal_statvfs.c')
-rw-r--r--sysdeps/unix/sysv/linux/internal_statvfs.c5
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");