diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2012-09-14 17:23:14 -0400 |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-10-01 18:31:41 -0400 |
commit | 8cb7f74eeeb5441811d93f94b6138d4a5a9d8b20 (patch) | |
tree | f840cc8a9ab44cbb9d69b8bc83a8a621b370de95 /fs/nfs/internal.h | |
parent | cb7323fffa85df37161f4d3be45e1f787808309c (diff) |
NFS: nfs_parsed_mount_options can use unsigned int
fs/nfs/super.c: In function ‘nfs_compare_remount_data’:
fs/nfs/super.c:2042:18: warning: comparison between signed and
unsigned integer expressions [-Wsign-compare]
fs/nfs/super.c:2043:18: warning: comparison between signed and
unsigned integer expressions [-Wsign-compare]
fs/nfs/super.c:2044:20: warning: comparison between signed and
unsigned integer expressions [-Wsign-compare]
fs/nfs/super.c:2046:21: warning: comparison between signed and
unsigned integer expressions [-Wsign-compare]
fs/nfs/super.c:2047:21: warning: comparison between signed and
unsigned integer expressions [-Wsign-compare]
fs/nfs/super.c:2048:21: warning: comparison between signed and
unsigned integer expressions [-Wsign-compare]
fs/nfs/super.c:2049:21: warning: comparison between signed and
unsigned integer expressions [-Wsign-compare]
fs/nfs/super.c:2050:18: warning: comparison between signed and
unsigned integer expressions [-Wsign-compare]
Seen with gcc (GCC) 4.6.3 20120306 (Red Hat 4.6.3-2).
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.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/nfs/internal.h b/fs/nfs/internal.h index 31fdb03225cd..89560be07e4a 100644 --- a/fs/nfs/internal.h +++ b/fs/nfs/internal.h | |||
@@ -101,11 +101,11 @@ struct nfs_client_initdata { | |||
101 | */ | 101 | */ |
102 | struct nfs_parsed_mount_data { | 102 | struct nfs_parsed_mount_data { |
103 | int flags; | 103 | int flags; |
104 | int rsize, wsize; | 104 | unsigned int rsize, wsize; |
105 | int timeo, retrans; | 105 | unsigned int timeo, retrans; |
106 | int acregmin, acregmax, | 106 | unsigned int acregmin, acregmax, |
107 | acdirmin, acdirmax; | 107 | acdirmin, acdirmax; |
108 | int namlen; | 108 | unsigned int namlen; |
109 | unsigned int options; | 109 | unsigned int options; |
110 | unsigned int bsize; | 110 | unsigned int bsize; |
111 | unsigned int auth_flavor_len; | 111 | unsigned int auth_flavor_len; |