From: Trond Myklebust Date: Tue, 14 Aug 2012 22:30:41 +0000 (-0400) Subject: NFSv4: Fix the acl cache size calculation X-Git-Tag: v3.6-rc3~6^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b291f1b1c86aa0c7bc3df2994e6a1a4e53f1fde0;p=pandora-kernel.git NFSv4: Fix the acl cache size calculation Currently, we do not take into account the size of the 16 byte struct nfs4_cached_acl header, when deciding whether or not we should cache the acl data. Consequently, we will end up allocating an 8k buffer in order to fit a maximum size 4k acl. This patch adjusts the calculation so that we limit the cache size to 4k for the acl header+data. Signed-off-by: Trond Myklebust --- Reading git-diff-tree failed