Commit c0e07cb68db353c0ffbb0f82401cf6d79c253aed
Committed by
Trond Myklebust
1 parent
65fdf7d264
Exists in
master
and in
7 other branches
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>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
include/linux/nfs_xdr.h
... | ... | @@ -774,7 +774,7 @@ |
774 | 774 | * RPC procedure vector for NFSv2/NFSv3 demuxing |
775 | 775 | */ |
776 | 776 | struct nfs_rpc_ops { |
777 | - int version; /* Protocol version */ | |
777 | + u32 version; /* Protocol version */ | |
778 | 778 | struct dentry_operations *dentry_ops; |
779 | 779 | const struct inode_operations *dir_inode_ops; |
780 | 780 | const struct inode_operations *file_inode_ops; |