From: Ulrich Drepper Date: Wed, 16 Oct 2002 00:36:59 +0000 (+0000) Subject: (__fpathconf): Add support for reiserfs and xfs. X-Git-Tag: upstream/2.30~10627^2~1557 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cd4fba2b2bc20a631839ae39681610201ea2468d;p=external%2Fglibc.git (__fpathconf): Add support for reiserfs and xfs. --- diff --git a/sysdeps/unix/sysv/linux/alpha/fpathconf.c b/sysdeps/unix/sysv/linux/alpha/fpathconf.c index a7425d7..1820e5b 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; }