From: NeilBrown Date: Tue, 11 Apr 2006 05:55:32 +0000 (-0700) Subject: [PATCH] knfsd: nfsd4: fix corruption of returned data when using 64k pages X-Git-Tag: v2.6.17-rc2~122 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ed6decccf544970664757464cfb67e081775e6a;p=pandora-kernel.git [PATCH] knfsd: nfsd4: fix corruption of returned data when using 64k pages In v4 we grab an extra page just for the padding of returned data. The formula that the rpc server uses to allocate pages for the response doesn't take into account this extra page. Instead of adjusting those formulae, we adopt the same solution as v2 and v3, and put the "tail" data in the same page as the "head" data. Signed-off-by: J. Bruce Fields Signed-off-by: Neil Brown Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed