diff options
author | J. Bruce Fields <bfields@redhat.com> | 2011-03-17 17:07:20 (GMT) |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2011-03-17 17:07:25 (GMT) |
commit | cf507b6f8ebae89c0e7bbd00abc6d8887c9035b1 (patch) | |
tree | 834a5c5bbd63aed0756d47978679d230d5dedec4 /fs/nfsd/nfs4xdr.c | |
parent | 9ae78bcc000168251f893b1bf92a848308187695 (diff) | |
parent | 3ec07aa9522e3d5e9d5ede7bef946756e623a0a0 (diff) | |
download | linux-cf507b6f8ebae89c0e7bbd00abc6d8887c9035b1.tar.xz |
Merge create_session decoding fix into for-2.6.39
This needs a further fixup!
Diffstat (limited to 'fs/nfsd/nfs4xdr.c')
-rw-r--r-- | fs/nfsd/nfs4xdr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/nfsd/nfs4xdr.c b/fs/nfsd/nfs4xdr.c index 1275b86..615f0a9 100644 --- a/fs/nfsd/nfs4xdr.c +++ b/fs/nfsd/nfs4xdr.c @@ -1142,7 +1142,7 @@ nfsd4_decode_create_session(struct nfsd4_compoundargs *argp, u32 dummy; char *machine_name; - int i; + int i, j; int nr_secflavs; READ_BUF(16); @@ -1215,7 +1215,7 @@ nfsd4_decode_create_session(struct nfsd4_compoundargs *argp, READ_BUF(4); READ32(dummy); READ_BUF(dummy * 4); - for (i = 0; i < dummy; ++i) + for (j = 0; j < dummy; ++j) READ32(dummy); break; case RPC_AUTH_GSS: |