From 75c151a1b9fa69f17e2be204eafac875d806b445 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 16 Oct 2002 00:33:18 +0000 Subject: [PATCH] Define XFS_SUPER_MAGIC and XFS_LINK_MAX. --- sysdeps/unix/sysv/linux/linux_fsinfo.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sysdeps/unix/sysv/linux/linux_fsinfo.h b/sysdeps/unix/sysv/linux/linux_fsinfo.h index 692abe5..60b4721 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 */ -- 2.7.4