]> git.ipfire.org Git - people/arne_f/kernel.git/commit
nfsd4: fix response size estimation for OP_SEQUENCE
authorJ. Bruce Fields <bfields@redhat.com>
Thu, 21 Aug 2014 19:04:31 +0000 (15:04 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 14 Nov 2014 18:10:36 +0000 (10:10 -0800)
commit6aba9ec80f4f80302af41c83033b5c45540fc092
tree5e202b730304288728a4cf5f112b3a508a2ee947
parentff3483aa1cf792438351a443a7c78e6e3c227c91
nfsd4: fix response size estimation for OP_SEQUENCE

commit d1d84c9626bb3a519863b3ffc40d347166f9fb83 upstream.

We added this new estimator function but forgot to hook it up.  The
effect is that NFSv4.1 (and greater) won't do zero-copy reads.

The estimate was also wrong by 8 bytes.

Fixes: ccae70a9ee41 "nfsd4: estimate sequence response size"
Reported-by: Chuck Lever <chucklever@gmail.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/nfsd/nfs4proc.c