diff options
author | roel <roel.kluin@gmail.com> | 2011-03-08 22:32:26 +0100 |
---|---|---|
committer | AK <andi@firstfloor.org> | 2011-03-31 11:58:20 -0700 |
commit | f59cc338d129dfd372658899c9a91287f49b1cb9 (patch) | |
tree | 9a64d7f1e1b1445488f9bc90b13837de11303910 /fs | |
parent | 3015340ba8ece69d4f3a46319282887b1115913b (diff) |
nfsd: wrong index used in inner loop
commit 3ec07aa9522e3d5e9d5ede7bef946756e623a0a0 upstream.
[AK plus merged with commit 5a02ab7c3c4580f94d13c683721039855b67cda6 upstream ]
Index i was already used in the outer loop
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/nfsd/nfs4xdr.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/nfsd/nfs4xdr.c b/fs/nfsd/nfs4xdr.c index 93ff828c22cc..d88539d93caf 100644 --- a/fs/nfsd/nfs4xdr.c +++ b/fs/nfsd/nfs4xdr.c @@ -1180,8 +1180,6 @@ nfsd4_decode_create_session(struct nfsd4_compoundargs *argp, READ_BUF(4); READ32(dummy); READ_BUF(dummy * 4); - for (i = 0; i < dummy; ++i) - READ32(dummy); break; case RPC_AUTH_GSS: dprintk("RPC_AUTH_GSS callback secflavor " @@ -1197,7 +1195,6 @@ nfsd4_decode_create_session(struct nfsd4_compoundargs *argp, READ_BUF(4); READ32(dummy); READ_BUF(dummy); - p += XDR_QUADLEN(dummy); break; default: dprintk("Illegal callback secflavor\n"); |