From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29031 invoked by alias); 16 Oct 2002 10:12:36 -0000 Mailing-List: contact libc-hacker-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sources.redhat.com Received: (qmail 29015 invoked from network); 16 Oct 2002 10:12:35 -0000 Received: from unknown (HELO Cantor.suse.de) (213.95.15.193) by sources.redhat.com with SMTP; 16 Oct 2002 10:12:35 -0000 Received: from Hermes.suse.de (Charybdis.suse.de [213.95.15.201]) by Cantor.suse.de (Postfix) with ESMTP id 4784C167C2; Wed, 16 Oct 2002 12:12:35 +0200 (MEST) Date: Wed, 16 Oct 2002 14:02:00 -0000 From: Thorsten Kukuk To: libc-hacker@sources.redhat.com Cc: drepper@redhat.com Subject: [PATCH] pathconf and XFS/Reiserfs link count Message-ID: <20021016090844.GA1190@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4i Organization: SuSE Linux AG, Nuernberg, Germany X-SW-Source: 2002-10/txt/msg00062.txt.bz2 Hi, the last patch for adding XFS link count was incomplete and for Alpha, the link count for Reiserfs was also missing. Here is a patch with the missing parts: 2002-10-16 Thorsten Kukuk * sysdeps/unix/sysv/linux/pathconf.c: Add case for XFS link count. * sysdeps/unix/sysv/linux/alpha/pathconf.c: Add case for XFS and REISERFS link count. --- sysdeps/unix/sysv/linux/pathconf.c 6 Jul 2001 04:56:12 -0000 1.6 +++ sysdeps/unix/sysv/linux/pathconf.c 16 Oct 2002 09:02:23 -0000 @@ -82,6 +82,9 @@ case REISERFS_SUPER_MAGIC: return REISERFS_LINK_MAX; + case XFS_SUPER_MAGIC: + return XFS_LINK_MAX; + default: return LINUX_LINK_MAX; } --- sysdeps/unix/sysv/linux/alpha/pathconf.c 6 Jul 2001 04:56:13 -0000 1.6 +++ sysdeps/unix/sysv/linux/alpha/pathconf.c 16 Oct 2002 09:02:23 -0000 @@ -86,6 +86,13 @@ 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; } -- Thorsten Kukuk http://www.suse.de/~kukuk/ kukuk@suse.de SuSE Linux AG Deutschherrnstr. 15-19 D-90429 Nuernberg -------------------------------------------------------------------- Key fingerprint = A368 676B 5E1B 3E46 CFCE 2D97 F8FD 4E23 56C6 FB4B