]> git.baikalelectronics.ru Git - kernel.git/commit
nfsd4: more precise nfsd4_max_reply
authorJ. Bruce Fields <bfields@redhat.com>
Tue, 11 Mar 2014 19:39:13 +0000 (15:39 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 30 May 2014 21:31:57 +0000 (17:31 -0400)
commit3fed2798b3d74e5c45fbdceb126f3bbf26221d23
tree8ef1923fa15d4e2372e73e48df203facc4085c7c
parent0750256a39afe70d3445fc863e881849c1ac3d4c
nfsd4: more precise nfsd4_max_reply

It will turn out to be useful to have a more accurate estimate of reply
size; so, piggyback on the existing op reply-size estimators.

Also move nfsd4_max_reply to nfs4proc.c to get easier access to struct
nfsd4_operation and friends.  (Thanks to Christoph Hellwig for pointing
out that simplification.)

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
fs/nfsd/nfs4proc.c
fs/nfsd/nfs4xdr.c
fs/nfsd/xdr4.h