NFS: NFS version number is unsigned
authorChuck Lever <chuck.lever@oracle.com>
Mon, 14 Jan 2008 17:32:05 +0000 (12:32 -0500)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 30 Jan 2008 07:06:08 +0000 (02:06 -0500)
RPC protocol version numbers are unsigned.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
include/linux/nfs_xdr.h

index d342ae5c76abe4d0be047e1bf27c5e788cdd12e4..f301d0b8babc99a94485e089cdfbca401c1407d8 100644 (file)
@@ -774,7 +774,7 @@ struct nfs_access_entry;
  * RPC procedure vector for NFSv2/NFSv3 demuxing
  */
 struct nfs_rpc_ops {
-       int     version;                /* Protocol version */
+       u32     version;                /* Protocol version */
        struct dentry_operations *dentry_ops;
        const struct inode_operations *dir_inode_ops;
        const struct inode_operations *file_inode_ops;