diff options
author | Ulrich Drepper <drepper@redhat.com> | 2002-10-16 00:38:29 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2002-10-16 00:38:29 +0000 |
commit | 7d1ed880a31e061f8bb98dffce6fef6bd0bffec9 (patch) | |
tree | 289afcd454ee9c75cd611904ca53c701bd36b7f8 /sysdeps/unix/sysv/linux/fpathconf.c | |
parent | 75c151a1b9fa69f17e2be204eafac875d806b445 (diff) | |
download | glibc-7d1ed880a31e061f8bb98dffce6fef6bd0bffec9.tar.gz |
Update.
2002-10-15 Ulrich Drepper <drepper@redhat.com>
* sysdeps/unix/sysv/linux/alpha/fpathconf.c (__fpathconf): Add
support for reiserfs and xfs.
* sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Add case for
XFS link count.
* sysdeps/unix/sysv/linux/linux_fsinfo.h: Define XFS_SUPER_MAGIC
and XFS_LINK_MAX.
Patch by Eric Sandeen <sandeen@sgi.com> [PR libc/4706].
Diffstat (limited to 'sysdeps/unix/sysv/linux/fpathconf.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/fpathconf.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/fpathconf.c b/sysdeps/unix/sysv/linux/fpathconf.c index 5def46bd16..108ffa705a 100644 --- a/sysdeps/unix/sysv/linux/fpathconf.c +++ b/sysdeps/unix/sysv/linux/fpathconf.c @@ -1,5 +1,5 @@ /* Linux specific extensions to fpathconf. - Copyright (C) 1991,95,96,98,99,2000,2001 Free Software Foundation, Inc. + Copyright (C) 1991,95,96,98,99,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 @@ -82,6 +82,9 @@ __fpathconf (fd, name) case REISERFS_SUPER_MAGIC: return REISERFS_LINK_MAX; + case XFS_SUPER_MAGIC: + return XFS_LINK_MAX; + default: return LINUX_LINK_MAX; } |