aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-10-16 00:36:59 +0000
committerUlrich Drepper <drepper@redhat.com>2002-10-16 00:36:59 +0000
commitcd4fba2b2bc20a631839ae39681610201ea2468d (patch)
tree15b5ed5943c9b5b2f74dae4b05826cc70e26a978
parent75380e2be2f3dbbc8ba547d77ce22ad70994c202 (diff)
downloadglibc-cd4fba2b2bc20a631839ae39681610201ea2468d.tar.xz
glibc-cd4fba2b2bc20a631839ae39681610201ea2468d.zip
(__fpathconf): Add support for reiserfs and xfs.
-rw-r--r--sysdeps/unix/sysv/linux/alpha/fpathconf.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/alpha/fpathconf.c b/sysdeps/unix/sysv/linux/alpha/fpathconf.c
index a7425d7f09..1820e5b229 100644
--- a/sysdeps/unix/sysv/linux/alpha/fpathconf.c
+++ b/sysdeps/unix/sysv/linux/alpha/fpathconf.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1995, 1996, 1998, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1991,1995,1996,1998,2000,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
@@ -93,6 +93,12 @@ __fpathconf (fd, name)
case UFS_CIGAM:
return UFS_LINK_MAX;
+ case REISERFS_SUPER_MAGIC:
+ return REISERFS_LINK_MAX;
+
+ case XFS_SUPER_MAGIC:
+ return XFS_LINK_MAX;
+
default:
return LINUX_LINK_MAX;
}