From: J. Bruce Fields Date: Fri, 7 Mar 2014 01:39:29 +0000 (-0500) Subject: nfsd4: fix encoding of out-of-space replies X-Git-Tag: omap-for-v3.16/fixes-against-rc1~67^2~69 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=07d1f8020738ba3180ea9992c4fa7dbc0685396a;p=pandora-kernel.git nfsd4: fix encoding of out-of-space replies If nfsd4_check_resp_size() returns an error then we should really be truncating the reply here, otherwise we may leave extra garbage at the end of the rpc reply. Also add a warning to catch any cases where our reply-size estimates may be wrong in the case of a non-idempotent operation. Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed