summaryrefslogtreecommitdiffstats
path: root/fs/nfs/internal.h
diff options
context:
space:
mode:
authorChuck Lever2008-03-14 19:10:15 +0100
committerTrond Myklebust2008-03-19 23:00:16 +0100
commit78fa701f341564e60461de91cd08ff5f7fb09b31 (patch)
treef4f3b7bda53af1e016778c9612ccd97097842366 /fs/nfs/internal.h
parentNFS: numeric mount parameters are unsigned (diff)
downloadkernel-qcow2-linux-78fa701f341564e60461de91cd08ff5f7fb09b31.tar.gz
kernel-qcow2-linux-78fa701f341564e60461de91cd08ff5f7fb09b31.tar.xz
kernel-qcow2-linux-78fa701f341564e60461de91cd08ff5f7fb09b31.zip
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 <chuck.lever@oracle.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'fs/nfs/internal.h')
-rw-r--r--fs/nfs/internal.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/nfs/internal.h b/fs/nfs/internal.h
index 4c1122a13844..e89688a955bf 100644
--- a/fs/nfs/internal.h
+++ b/fs/nfs/internal.h
@@ -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;