aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ecryptfs/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ecryptfs/main.c')
-rw-r--r--fs/ecryptfs/main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/ecryptfs/main.c b/fs/ecryptfs/main.c
index 8b0b4a73116d..1698132d0e57 100644
--- a/fs/ecryptfs/main.c
+++ b/fs/ecryptfs/main.c
@@ -695,12 +695,12 @@ static struct ecryptfs_cache_info {
695 { 695 {
696 .cache = &ecryptfs_header_cache, 696 .cache = &ecryptfs_header_cache,
697 .name = "ecryptfs_headers", 697 .name = "ecryptfs_headers",
698 .size = PAGE_CACHE_SIZE, 698 .size = PAGE_SIZE,
699 }, 699 },
700 { 700 {
701 .cache = &ecryptfs_xattr_cache, 701 .cache = &ecryptfs_xattr_cache,
702 .name = "ecryptfs_xattr_cache", 702 .name = "ecryptfs_xattr_cache",
703 .size = PAGE_CACHE_SIZE, 703 .size = PAGE_SIZE,
704 }, 704 },
705 { 705 {
706 .cache = &ecryptfs_key_record_cache, 706 .cache = &ecryptfs_key_record_cache,
@@ -818,7 +818,7 @@ static int __init ecryptfs_init(void)
818{ 818{
819 int rc; 819 int rc;
820 820
821 if (ECRYPTFS_DEFAULT_EXTENT_SIZE > PAGE_CACHE_SIZE) { 821 if (ECRYPTFS_DEFAULT_EXTENT_SIZE > PAGE_SIZE) {
822 rc = -EINVAL; 822 rc = -EINVAL;
823 ecryptfs_printk(KERN_ERR, "The eCryptfs extent size is " 823 ecryptfs_printk(KERN_ERR, "The eCryptfs extent size is "
824 "larger than the host's page size, and so " 824 "larger than the host's page size, and so "
@@ -826,7 +826,7 @@ static int __init ecryptfs_init(void)
826 "default eCryptfs extent size is [%u] bytes; " 826 "default eCryptfs extent size is [%u] bytes; "
827 "the page size is [%lu] bytes.\n", 827 "the page size is [%lu] bytes.\n",
828 ECRYPTFS_DEFAULT_EXTENT_SIZE, 828 ECRYPTFS_DEFAULT_EXTENT_SIZE,
829 (unsigned long)PAGE_CACHE_SIZE); 829 (unsigned long)PAGE_SIZE);
830 goto out; 830 goto out;
831 } 831 }
832 rc = ecryptfs_init_kmem_caches(); 832 rc = ecryptfs_init_kmem_caches();