From: Nathan Scott <nathans@sgi.com>
To: linux-ia64@vger.kernel.org
Subject: Re: IA64 ino_t incorrectly sized?
Date: Fri, 17 Oct 2003 01:56:09 +0000 [thread overview]
Message-ID: <marc-linux-ia64-106635632612226@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-106378281914262@msgid-missing>
[-- Attachment #1: Type: text/plain, Size: 308 bytes --]
hi Neil,
On Fri, Oct 17, 2003 at 10:47:14AM +1000, Neil Brown wrote:
> I don't really want __kernel_old_ino_t as it would clutter every arch
> just for nfsd, and just for 2.6.
OK sounds good, although we'd like these changes in 2.4 too
(eventually). Do these patches look acceptable?
thanks.
--
Nathan
[-- Attachment #2: nfsd-ia64-ino_t-2.6.patch --]
[-- Type: text/plain, Size: 792 bytes --]
--- /usr/tmp/TmpDir.1899229-0/linux/include/linux/nfsd/syscall.h_1.11 Fri Oct 17 11:42:05 2003
+++ linux/include/linux/nfsd/syscall.h Fri Oct 17 11:13:35 2003
@@ -22,6 +22,16 @@
#include <linux/nfsd/auth.h>
/*
+ * ABI compatibility type definition for the IA64 __kernel_ino_t.
+ * This can be removed along with the nfsctl_export syscall (2.7).
+ */
+#ifdef __ia64__
+ typedef unsigned int __nfsd_ino_t;
+#else
+ typedef __kernel_ino_t __nfsd_ino_t;
+#endif
+
+/*
* Version of the syscall interface
*/
#define NFSCTL_VERSION 0x0201
@@ -60,7 +70,7 @@
char ex_client[NFSCLNT_IDMAX+1];
char ex_path[NFS_MAXPATHLEN+1];
__kernel_old_dev_t ex_dev;
- __kernel_ino_t ex_ino;
+ __nfsd_ino_t ex_ino;
int ex_flags;
__kernel_uid_t ex_anon_uid;
__kernel_gid_t ex_anon_gid;
[-- Attachment #3: nfsd-ia64-ino_t-2.4.patch --]
[-- Type: text/plain, Size: 997 bytes --]
--- /usr/tmp/TmpDir.1959-0/linux/include/linux/nfsd/syscall.h_1.6 Fri Oct 17 11:56:38 2003
+++ linux/include/linux/nfsd/syscall.h Fri Oct 17 11:56:14 2003
@@ -22,6 +22,17 @@
#include <linux/nfsd/auth.h>
/*
+ * ABI compatibility type definition for the IA64 __kernel_ino_t.
+ * This can be removed along with the nfsctl_export syscall (2.7)
+ * and the nfsctl_fhparm syscall (2.5).
+ */
+#ifdef __ia64__
+ typedef unsigned int __nfsd_ino_t;
+#else
+ typedef __kernel_ino_t __nfsd_ino_t;
+#endif
+
+/*
* Version of the syscall interface
*/
#define NFSCTL_VERSION 0x0201
@@ -60,7 +71,7 @@
char ex_client[NFSCLNT_IDMAX+1];
char ex_path[NFS_MAXPATHLEN+1];
__kernel_dev_t ex_dev;
- __kernel_ino_t ex_ino;
+ __nfsd_ino_t ex_ino;
int ex_flags;
__kernel_uid_t ex_anon_uid;
__kernel_gid_t ex_anon_gid;
@@ -81,7 +92,7 @@
struct nfsctl_fhparm {
struct sockaddr gf_addr;
__kernel_dev_t gf_dev;
- __kernel_ino_t gf_ino;
+ __nfsd_ino_t gf_ino;
int gf_version;
};
next prev parent reply other threads:[~2003-10-17 1:56 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-17 7:10 IA64 ino_t incorrectly sized? Nathan Scott
2003-09-17 14:33 ` Jes Sorensen
2003-09-17 17:26 ` David Mosberger
2003-09-29 5:52 ` Nathan Scott
2003-10-08 23:51 ` David Mosberger
2003-10-09 1:25 ` Nathan Scott
2003-10-09 1:57 ` David Mosberger
2003-10-09 3:15 ` Nathan Scott
2003-10-09 3:53 ` David Mosberger
2003-10-09 4:55 ` Nathan Scott
2003-10-09 20:46 ` David Mosberger
2003-10-10 2:22 ` Nathan Scott
2003-10-15 1:25 ` Nathan Scott
2003-10-15 1:48 ` Andrew Morton
2003-10-15 4:47 ` David Mosberger
2003-10-15 5:18 ` Andrew Morton
2003-10-15 6:06 ` Nathan Scott
2003-10-15 6:16 ` Nathan Scott
2003-10-15 6:21 ` David Mosberger
2003-10-15 6:28 ` Andrew Morton
2003-10-15 6:34 ` Nathan Scott
2003-10-15 12:42 ` Andi Kleen
2003-10-15 12:54 ` Christoph Hellwig
2003-10-15 13:29 ` Matthew Wilcox
2003-10-15 13:40 ` Christoph Hellwig
2003-10-15 16:32 ` David Mosberger
2003-10-15 16:59 ` David Mosberger
2003-10-15 17:40 ` David Mosberger
2003-10-15 23:40 ` Neil Brown
2003-10-16 1:20 ` David Mosberger
2003-10-16 22:47 ` Nathan Scott
2003-10-17 0:47 ` Neil Brown
2003-10-17 1:56 ` Nathan Scott [this message]
2003-10-21 3:37 ` Neil Brown
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=marc-linux-ia64-106635632612226@msgid-missing \
--to=nathans@sgi.com \
--cc=linux-ia64@vger.kernel.org \
/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