From: J. Bruce Fields Date: Wed, 20 Aug 2014 18:49:50 +0000 (-0400) Subject: nfsd4: fix rd_dircount enforcement X-Git-Tag: fixes-for-v3.18-merge-window~157^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aee3776441461c14ba6d8ed9e2149933e65abb6e;p=pandora-kernel.git nfsd4: fix rd_dircount enforcement Commit 3b299709091b "nfsd4: enforce rd_dircount" totally misunderstood rd_dircount; it refers to total non-attribute bytes returned, not number of directory entries returned. Bring the code into agreement with RFC 3530 section 14.2.24. Cc: stable@vger.kernel.org Fixes: 3b299709091b "nfsd4: enforce rd_dircount" Signed-off-by: J. Bruce Fields --- Reading git-diff-tree failed