aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ecryptfs/main.c
diff options
context:
space:
mode:
authorTyler Hicks <tyhicks@linux.vnet.ibm.com>2011-05-24 06:11:12 -0400
committerTyler Hicks <tyhicks@linux.vnet.ibm.com>2011-05-29 15:24:25 -0400
commit3063287053bca5207e121c567b95b2b6f0bdc2c8 (patch)
tree404c92175f536d20576254a43a7a93b3b02343f2 /fs/ecryptfs/main.c
parent778aeb42a708d2a57e491d2cbb5a1e74f61270b9 (diff)
eCryptfs: Remove ecryptfs_header_cache_2
Now that ecryptfs_lookup_interpose() is no longer using ecryptfs_header_cache_2 to read in metadata, the kmem_cache can be removed and the ecryptfs_header_cache_1 kmem_cache can be renamed to ecryptfs_header_cache. Signed-off-by: Tyler Hicks <tyhicks@linux.vnet.ibm.com>
Diffstat (limited to 'fs/ecryptfs/main.c')
-rw-r--r--fs/ecryptfs/main.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/fs/ecryptfs/main.c b/fs/ecryptfs/main.c
index 943a4f55ed6d..9f1bb747d77d 100644
--- a/fs/ecryptfs/main.c
+++ b/fs/ecryptfs/main.c
@@ -635,13 +635,8 @@ static struct ecryptfs_cache_info {
635 .size = sizeof(struct ecryptfs_sb_info), 635 .size = sizeof(struct ecryptfs_sb_info),
636 }, 636 },
637 { 637 {
638 .cache = &ecryptfs_header_cache_1, 638 .cache = &ecryptfs_header_cache,
639 .name = "ecryptfs_headers_1", 639 .name = "ecryptfs_headers",
640 .size = PAGE_CACHE_SIZE,
641 },
642 {
643 .cache = &ecryptfs_header_cache_2,
644 .name = "ecryptfs_headers_2",
645 .size = PAGE_CACHE_SIZE, 640 .size = PAGE_CACHE_SIZE,
646 }, 641 },
647 { 642 {