aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ecryptfs/super.c
diff options
context:
space:
mode:
authorMichael Halcrow <mhalcrow@us.ibm.com>2007-10-16 04:28:01 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-16 12:43:11 -0400
commitfcd12835666b059b95613778819eb3ae9bc73642 (patch)
treebd825395368d5039e039f930288b3997a2a96263 /fs/ecryptfs/super.c
parentaf655dc6a9d5028d89aa35b65781631451aadc19 (diff)
eCryptfs: grammatical fix (destruct to destroy)
Andrew Morton wrote: > > +int ecryptfs_destruct_crypto(void) > > ecryptfs_destroy_crypto would be more grammatically correct ;) Grammatical fix for some function names. Signed-off-by: Michael Halcrow <mhalcrow@us.ibm.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
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}