Skip to contentSkip to conversation

NFS: Fix up data types of fields in nfs_parsed_mount_options

PATCH In review Chuck Lever 1 participant 1 message Jan 30, 2008

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

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.

---

 fs/nfs/internal.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
fs/nfs/internal.h +3 -3
index 0f56196..4769ed6 100644
@@ -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;
 };