aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-10-16 00:33:18 +0000
committerUlrich Drepper <drepper@redhat.com>2002-10-16 00:33:18 +0000
commit75c151a1b9fa69f17e2be204eafac875d806b445 (patch)
tree2fe540a0bd9d9e4143c9dd6151f60a2591624a69 /sysdeps
parent97d3e6d8af6793bcfa7919bf30de82d6e1b6bf0c (diff)
downloadglibc-75c151a1b9fa69f17e2be204eafac875d806b445.tar
glibc-75c151a1b9fa69f17e2be204eafac875d806b445.tar.gz
glibc-75c151a1b9fa69f17e2be204eafac875d806b445.tar.bz2
glibc-75c151a1b9fa69f17e2be204eafac875d806b445.zip
Define XFS_SUPER_MAGIC and XFS_LINK_MAX.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/linux_fsinfo.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/linux_fsinfo.h b/sysdeps/unix/sysv/linux/linux_fsinfo.h
index 692abe5de8..60b4721e10 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, 1999, 2000, 2001 Free Software Foundation, Inc.
+ Copyright (C) 1998, 1999, 2000, 2001, 2002 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
@@ -101,6 +101,9 @@
/* Constant that identifies the `shm' filesystem. */
#define SHMFS_SUPER_MAGIC 0x01021994
+/* Constants that identify the `xfs' filesystem. */
+#define XFS_SUPER_MAGIC 0x58465342
+
/* Maximum link counts. */
#define COH_LINK_MAX 10000
#define EXT2_LINK_MAX 32000
@@ -110,5 +113,6 @@
#define SYSV_LINK_MAX 126 /* 127? 251? */
#define UFS_LINK_MAX EXT2_LINK_MAX
#define XENIX_LINK_MAX 126 /* ?? */
+#define XFS_LINK_MAX 2147483647
#endif /* linux_fsinfo.h */