diff options
-rw-r--r-- | fs/nfs/super.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfs/super.c b/fs/nfs/super.c index aab5cd61725d..6eac5bf911e3 100644 --- a/fs/nfs/super.c +++ b/fs/nfs/super.c | |||
@@ -263,11 +263,11 @@ static const char *nfs_pseudoflavour_to_name(rpc_authflavor_t flavour) | |||
263 | { RPC_AUTH_GSS_SPKM, "spkm" }, | 263 | { RPC_AUTH_GSS_SPKM, "spkm" }, |
264 | { RPC_AUTH_GSS_SPKMI, "spkmi" }, | 264 | { RPC_AUTH_GSS_SPKMI, "spkmi" }, |
265 | { RPC_AUTH_GSS_SPKMP, "spkmp" }, | 265 | { RPC_AUTH_GSS_SPKMP, "spkmp" }, |
266 | { -1, "unknown" } | 266 | { UINT_MAX, "unknown" } |
267 | }; | 267 | }; |
268 | int i; | 268 | int i; |
269 | 269 | ||
270 | for (i=0; sec_flavours[i].flavour != -1; i++) { | 270 | for (i = 0; sec_flavours[i].flavour != UINT_MAX; i++) { |
271 | if (sec_flavours[i].flavour == flavour) | 271 | if (sec_flavours[i].flavour == flavour) |
272 | break; | 272 | break; |
273 | } | 273 | } |