]> git.karo-electronics.de Git - karo-tx-linux.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>
Wed, 28 May 2014 18:52:50 +0000 (14:52 -0400)
commit18b13ea5f4a713fe19cda0d6a882d653a5c1de67
tree9a1078c95ea3ec2d2e13cbae3545f9816a94b9c9
parentdae988038985fd295937457a50050305ee8efe1e
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