[PATCH] eCryptfs: Reduce stack usage in ecryptfs_generate_key_packet_set()
[sfrench/cifs-2.6.git] / fs / ecryptfs / main.c
index 26fe405a57637864c02be1a10fd8f0b6b94e69b2..80044d196fe06b7b82ae3c6dc0cacaddc3e1a2f6 100644 (file)
@@ -651,6 +651,11 @@ static struct ecryptfs_cache_info {
                .name = "ecryptfs_lower_page_cache",
                .size = PAGE_CACHE_SIZE,
        },
+       {
+               .cache = &ecryptfs_key_record_cache,
+               .name = "ecryptfs_key_record_cache",
+               .size = sizeof(struct ecryptfs_key_record),
+       },
 };
 
 static void ecryptfs_free_kmem_caches(void)