summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2008-01-14 12:32:05 -0500
committerTrond Myklebust <Trond.Myklebust@netapp.com>2008-01-30 02:06:08 -0500
commitc0e07cb68db353c0ffbb0f82401cf6d79c253aed (patch)
tree9f27b46baf81d544aef9bdfa4ecec937c5343f93
parent65fdf7d264213a9a8de44f9a20e002a26c267a76 (diff)
downloadop-kernel-dev-c0e07cb68db353c0ffbb0f82401cf6d79c253aed.zip
op-kernel-dev-c0e07cb68db353c0ffbb0f82401cf6d79c253aed.tar.gz
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>
-rw-r--r--include/linux/nfs_xdr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/nfs_xdr.h b/include/linux/nfs_xdr.h
index d342ae5..f301d0b 100644
--- a/include/linux/nfs_xdr.h
+++ b/include/linux/nfs_xdr.h
@@ -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;
OpenPOWER on IntegriCloud