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)
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

Simple merge
Simple merge
diff --cc fs/nfsd/xdr4.h
Simple merge