aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv/linux/linux_fsinfo.h
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/linux_fsinfo.h
parentc75fa153a93eca56aec4f398770d3afc249ae5b5 (diff)
downloadglibc-de283087c74f720cf8a7171972e72b5fa2b45e79.zip
glibc-de283087c74f720cf8a7171972e72b5fa2b45e79.tar.gz
glibc-de283087c74f720cf8a7171972e72b5fa2b45e79.tar.bz2
Handle Lustre filesystem
Diffstat (limited to 'sysdeps/unix/sysv/linux/linux_fsinfo.h')
-rw-r--r--sysdeps/unix/sysv/linux/linux_fsinfo.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/linux_fsinfo.h b/sysdeps/unix/sysv/linux/linux_fsinfo.h
index a0e0700..55bc6e3 100644
--- a/sysdeps/unix/sysv/linux/linux_fsinfo.h
+++ b/sysdeps/unix/sysv/linux/linux_fsinfo.h
@@ -1,5 +1,5 @@
/* Constants from kernel header for various FSes.
- Copyright (C) 1998-2003,2005,2010 Free Software Foundation, Inc.
+ Copyright (C) 1998-2003,2005,2010,2011 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -83,6 +83,9 @@
/* Constant that identifies the `logfs' filesystem. */
#define LOGFS_MAGIC_U32 0xc97e8168u
+/* Constant that identifies the `lustre' filesystem. */
+#define LUSTRE_SUPER_MAGIC 0x0BD00BD0
+
/* Constants that identify the `minix2' filesystem. */
#define MINIX2_SUPER_MAGIC 0x2468
#define MINIX2_SUPER_MAGIC2 0x2478
@@ -150,6 +153,8 @@
/* Maximum link counts. */
#define COH_LINK_MAX 10000
#define EXT2_LINK_MAX 32000
+#define EXT4_LINK_MAX 65000
+#define LUSTRE_LINK_MAX EXT4_LINK_MAX
#define MINIX2_LINK_MAX 65530
#define MINIX_LINK_MAX 250
#define REISERFS_LINK_MAX 64535