diff options
author | J. Bruce Fields <bfields@redhat.com> | 2013-11-19 17:32:43 -0500 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2013-11-19 18:06:54 -0500 |
commit | 365da4adebb1c012febf81019ad3dc5bb52e2a13 (patch) | |
tree | f538139477c4104f66321c0446e57332fed6289c /lib/sort.c | |
parent | 987da4791052fa298b7cfcde4dea9f6f2bbc786b (diff) | |
download | op-kernel-dev-365da4adebb1c012febf81019ad3dc5bb52e2a13.zip op-kernel-dev-365da4adebb1c012febf81019ad3dc5bb52e2a13.tar.gz |
nfsd4: fix xdr decoding of large non-write compounds
This fixes a regression from 247500820ebd02ad87525db5d9b199e5b66f6636
"nfsd4: fix decoding of compounds across page boundaries". The previous
code was correct: argp->pagelist is initialized in
nfs4svc_deocde_compoundargs to rqstp->rq_arg.pages, and is therefore a
pointer to the page *after* the page we are currently decoding.
The reason that patch nevertheless fixed a problem with decoding
compounds containing write was a bug in the write decoding introduced by
5a80a54d21c96590d013378d8c5f65f879451ab4 "nfsd4: reorganize write
decoding", after which write decoding no longer adhered to the rule that
argp->pagelist point to the next page.
Cc: stable@vger.kernel.org
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'lib/sort.c')
0 files changed, 0 insertions, 0 deletions