diff options
author | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-08-14 22:30:41 (GMT) |
---|---|---|
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | 2012-08-16 20:15:50 (GMT) |
commit | b291f1b1c86aa0c7bc3df2994e6a1a4e53f1fde0 (patch) | |
tree | 6f1381f4a70174dc719c557751536e8cb8828757 /firmware/ess | |
parent | 519d3959e30a98f8e135e7a16647c10af5ad63d5 (diff) | |
download | linux-b291f1b1c86aa0c7bc3df2994e6a1a4e53f1fde0.tar.xz |
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 <Trond.Myklebust@netapp.com>
Diffstat (limited to 'firmware/ess')
0 files changed, 0 insertions, 0 deletions