Re: Compatibility issue with 2.2.19pre7

Manfred (manfred@colorfullife.com)
Thu, 11 Jan 2001 07:29:19 -0500 (EST)


Zitiere Andi Kleen <ak@suse.de>:

> On Thu, Jan 11, 2001 at 07:10:27AM -0500, Manfred wrote:
> > Zitiere Russell King <rmk@arm.linux.org.uk>:
> > > The API changed:
> > > struct nfs_mount_data {
> > > int version; /* 1 */
> > > int fd; /* 1 */
> > > - struct nfs_fh root; /* 1 */
> > > + struct nfs2_fh old_root; /* 1 */
> >
> > I don't see an API change:
> > the 2.2.17 "struct nfs_fs" and the 2.2.18 "struct nfs2_fh" are
> identical.
>
> But it changed in 2.2.19pre, breaking nfs mount on i386.
>

-ECONFUSED.

2.2.17 struct nfs_fh is identical to 2.2.18 nfs2_fh and 2.2.19pre7 nfs2_fh

2.2.18 struct nfs_fh is a new structure for nfsV3, it doesn't exist in 2.2.17.
That structure is unusable on ARM.

Russel want's to change the new "struct nfs_fh" (from 2.2.18), and that change
is included in 2.2.19pre7. But that change breaks i386 nfs mount.

Could someone with an Alpha/Sparc/ARM compiler compile a test program with
"struct nfs_fh" from 2.2.18 and print the offset of nfs_fh.data?

--
	Manfred
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/