2008-01-31 20:01:01

by Chuck Lever III

[permalink] [raw]
Subject: [PATCH 2/5] 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(-)

diff --git a/fs/nfs/internal.h b/fs/nfs/internal.h
index 0f56196..4769ed6 100644
--- a/fs/nfs/internal.h
+++ b/fs/nfs/internal.h
@@ -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;
};