NFS: Fix up data types of fields in nfs_parsed_mount_options
authorChuck Lever <chuck.lever@oracle.com>
Fri, 14 Mar 2008 18:10:15 +0000 (14:10 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Wed, 19 Mar 2008 22:00:16 +0000 (18:00 -0400)
Clean up: make data types of fields in nfs_parsed_mount_options more
consistent with other uses.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/internal.h

index 4c1122a1384435e0c9bb6df952d6573e2e6cfc98..e89688a955bfd51658891f360c090459783f6a6f 100644 (file)
@@ -46,9 +46,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 {
@@ -56,7 +56,7 @@ struct nfs_parsed_mount_data {
                size_t                  addrlen;
                char                    *hostname;
                char                    *export_path;
-               int                     protocol;
+               unsigned short          protocol;
        } nfs_server;
 
        struct security_mnt_opts lsm_opts;