Re: [PATCH] NFS dev_t fixes

From: shaheed (srhaque@iee.org)
Date: Sun Feb 02 2003 - 09:53:06 EST


Andries,

Just a thought...did you intend to use two slightly different types for
major/minor? You say in nfs3xdr.c:

xdr_decode_fattr(u32 *p, struct nfs_fattr *fattr)
 {
...
        unsigned int type, major, minor;
...
         major = ntohl(*p++);
        minor = ntohl(*p++);

and later on in nfs4xdr.c:

        uint32_t major, minor;
...
        READ32(major);
        READ32(minor);

I wonder if the real cause here is the different coding conventions of the two
modules...

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



This archive was generated by hypermail 2b29 : Fri Feb 07 2003 - 22:00:09 EST