From: Thorsten Kukuk <kukuk@suse.de>
To: libc-hacker@sources.redhat.com
Cc: drepper@redhat.com
Subject: [PATCH] pathconf and XFS/Reiserfs link count
Date: Wed, 16 Oct 2002 14:02:00 -0000 [thread overview]
Message-ID: <20021016090844.GA1190@suse.de> (raw)
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 <kukuk@suse.de>
* 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
next reply other threads:[~2002-10-16 10:12 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-16 14:02 Thorsten Kukuk [this message]
2002-10-16 17:12 ` Roland McGrath
[not found] <p733cr6ot2m.fsf@oldwotan.suse.de>
2002-10-16 17:20 ` Roland McGrath
2002-10-16 17:36 ` Ulrich Drepper
[not found] ` <20021017022815.A32174@wotan.suse.de>
2002-10-18 7:59 ` Ulrich Drepper
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20021016090844.GA1190@suse.de \
--to=kukuk@suse.de \
--cc=drepper@redhat.com \
--cc=libc-hacker@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).