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].
This commit is contained in:
Ulrich Drepper 2002-10-16 00:38:29 +00:00
parent 75c151a1b9
commit 7d1ed880a3
3 changed files with 22 additions and 2 deletions

View File

@ -1,3 +1,14 @@
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].
2002-10-16 Jakub Jelinek <jakub@redhat.com>
* include/libc-symbols.h (attribute_tls_model_ie): Define.

View File

@ -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;
}

View File

@ -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;
}