aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ecryptfs/super.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ecryptfs/super.c')
-rw-r--r--fs/ecryptfs/super.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/ecryptfs/super.c b/fs/ecryptfs/super.c
index 7b3f0cc09a6f..18d77f8aa7cd 100644
--- a/fs/ecryptfs/super.c
+++ b/fs/ecryptfs/super.c
@@ -73,7 +73,7 @@ static void ecryptfs_destroy_inode(struct inode *inode)
73 struct ecryptfs_inode_info *inode_info; 73 struct ecryptfs_inode_info *inode_info;
74 74
75 inode_info = ecryptfs_inode_to_private(inode); 75 inode_info = ecryptfs_inode_to_private(inode);
76 ecryptfs_destruct_crypt_stat(&inode_info->crypt_stat); 76 ecryptfs_destroy_crypt_stat(&inode_info->crypt_stat);
77 kmem_cache_free(ecryptfs_inode_info_cache, inode_info); 77 kmem_cache_free(ecryptfs_inode_info_cache, inode_info);
78} 78}
79 79
@@ -104,7 +104,7 @@ static void ecryptfs_put_super(struct super_block *sb)
104{ 104{
105 struct ecryptfs_sb_info *sb_info = ecryptfs_superblock_to_private(sb); 105 struct ecryptfs_sb_info *sb_info = ecryptfs_superblock_to_private(sb);
106 106
107 ecryptfs_destruct_mount_crypt_stat(&sb_info->mount_crypt_stat); 107 ecryptfs_destroy_mount_crypt_stat(&sb_info->mount_crypt_stat);
108 kmem_cache_free(ecryptfs_sb_info_cache, sb_info); 108 kmem_cache_free(ecryptfs_sb_info_cache, sb_info);
109 ecryptfs_set_superblock_private(sb, NULL); 109 ecryptfs_set_superblock_private(sb, NULL);
110} 110}