Re: Compatibility issue with 2.2.19pre7

Trond Myklebust (trond.myklebust@fys.uio.no)
11 Jan 2001 12:37:38 +0100


>>>>> " " == Russell King <rmk@arm.linux.org.uk> writes:

> Hubert Mantel writes:
>> is this part of 2.2.19pre7 really a good idea? Even in 2.4.0
>> the size field is still a short.
>> #define NFS_MAXFHSIZE 64
>> struct nfs_fh {
>> - unsigned short size;
>> + unsigned int size;
>> unsigned char data[NFS_MAXFHSIZE]; };

> This is an internal kernel data structure. Do you know of some
> program that breaks as a result of this?
> _____

Any program which mounts an NFS partition.

If you do this, then you need to provide some sort of compatibility
layer for nfs_mount.h since the format for version 4 of the NFS mount
structure was decided more than 2 years ago.

Cheers,
Trond
-
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/