From: J. Bruce Fields Date: Sat, 22 Mar 2014 19:15:11 +0000 (-0400) Subject: nfsd4: reserve space before inlining 0-copy pages X-Git-Tag: omap-for-v3.16/fixes-against-rc1~67^2~58 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e21ac4b6f1d09c56f7d10916eaa738361214ab7;p=pandora-kernel.git nfsd4: reserve space before inlining 0-copy pages Once we've included page-cache pages in the encoding it's difficult to remove them and restart encoding. (xdr_truncate_encode doesn't handle that case.) So, make sure we'll have adequate space to finish the operation first. For now COMPOUND_SLACK_SPACE checks should prevent this case happening, but we want to remove those checks. Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed