aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ecryptfs/crypto.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/ecryptfs/crypto.c')
-rw-r--r--fs/ecryptfs/crypto.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/fs/ecryptfs/crypto.c b/fs/ecryptfs/crypto.c
index 76bba7384d51..6051dbfad0d3 100644
--- a/fs/ecryptfs/crypto.c
+++ b/fs/ecryptfs/crypto.c
@@ -213,12 +213,12 @@ ecryptfs_init_crypt_stat(struct ecryptfs_crypt_stat *crypt_stat)
213} 213}
214 214
215/** 215/**
216 * ecryptfs_destruct_crypt_stat 216 * ecryptfs_destroy_crypt_stat
217 * @crypt_stat: Pointer to the crypt_stat struct to initialize. 217 * @crypt_stat: Pointer to the crypt_stat struct to initialize.
218 * 218 *
219 * Releases all memory associated with a crypt_stat struct. 219 * Releases all memory associated with a crypt_stat struct.
220 */ 220 */
221void ecryptfs_destruct_crypt_stat(struct ecryptfs_crypt_stat *crypt_stat) 221void ecryptfs_destroy_crypt_stat(struct ecryptfs_crypt_stat *crypt_stat)
222{ 222{
223 struct ecryptfs_key_sig *key_sig, *key_sig_tmp; 223 struct ecryptfs_key_sig *key_sig, *key_sig_tmp;
224 224
@@ -236,7 +236,7 @@ void ecryptfs_destruct_crypt_stat(struct ecryptfs_crypt_stat *crypt_stat)
236 memset(crypt_stat, 0, sizeof(struct ecryptfs_crypt_stat)); 236 memset(crypt_stat, 0, sizeof(struct ecryptfs_crypt_stat));
237} 237}
238 238
239void ecryptfs_destruct_mount_crypt_stat( 239void ecryptfs_destroy_mount_crypt_stat(
240 struct ecryptfs_mount_crypt_stat *mount_crypt_stat) 240 struct ecryptfs_mount_crypt_stat *mount_crypt_stat)
241{ 241{
242 struct ecryptfs_global_auth_tok *auth_tok, *auth_tok_tmp; 242 struct ecryptfs_global_auth_tok *auth_tok, *auth_tok_tmp;
@@ -1880,7 +1880,7 @@ int ecryptfs_init_crypto(void)
1880 return 0; 1880 return 0;
1881} 1881}
1882 1882
1883int ecryptfs_destruct_crypto(void) 1883int ecryptfs_destroy_crypto(void)
1884{ 1884{
1885 struct ecryptfs_key_tfm *key_tfm, *key_tfm_tmp; 1885 struct ecryptfs_key_tfm *key_tfm, *key_tfm_tmp;
1886 1886