]> git.proxmox.com Git - mirror_ubuntu-zesty-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)
committerJ. Bruce Fields <bfields@redhat.com>
Tue, 21 Oct 2014 13:10:50 +0000 (09:10 -0400)
commitd1d84c9626bb3a519863b3ffc40d347166f9fb83
tree571a9c4c92e3e5ca1ffd8e12d888ea991928fcd1
parentf114040e3ea6e07372334ade75d1ee0775c355e1
nfsd4: fix response size estimation for OP_SEQUENCE

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"
Cc: stable@vger.kernel.org
Reported-by: Chuck Lever <chucklever@gmail.com>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4proc.c