NFS: Fix up data types of fields in nfs_parsed_mount_options
Subsystems (2)
PATCH 2/4 NFS: Fix up data types of fields in nfs_parsed_mount_options
Clean up: make data types of fields in nfs_parsed_mount_options more consistent with other uses.
Signed-off-by Chuck Lever <[email protected]>
---
fs/nfs/internal.h | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
fs/nfs/internal.h +3 -3
@@ -45,9 +45,9 @@ struct nfs_parsed_mount_data {struct sockaddr_storage address;size_t addrlen;char *hostname; -unsigned int version; +u32 version;unsigned short port; -int protocol; +unsigned short protocol; } mount_server;struct {
@@ -55,7 +55,7 @@ struct nfs_parsed_mount_data {size_t addrlen;char *hostname;char *export_path; -int protocol; +unsigned short protocol; } nfs_server; };