Explorar o código

NFS: NFS version number is unsigned

RPC protocol version numbers are unsigned.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Chuck Lever %!s(int64=17) %!d(string=hai) anos
pai
achega
c0e07cb68d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      include/linux/nfs_xdr.h

+ 1 - 1
include/linux/nfs_xdr.h

@@ -774,7 +774,7 @@ struct nfs_access_entry;
  * RPC procedure vector for NFSv2/NFSv3 demuxing
  * RPC procedure vector for NFSv2/NFSv3 demuxing
  */
  */
 struct nfs_rpc_ops {
 struct nfs_rpc_ops {
-	int	version;		/* Protocol version */
+	u32	version;		/* Protocol version */
 	struct dentry_operations *dentry_ops;
 	struct dentry_operations *dentry_ops;
 	const struct inode_operations *dir_inode_ops;
 	const struct inode_operations *dir_inode_ops;
 	const struct inode_operations *file_inode_ops;
 	const struct inode_operations *file_inode_ops;