diff options
author | Michael Halcrow <mhalcrow@us.ibm.com> | 2007-10-16 04:28:01 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-16 12:43:11 -0400 |
commit | fcd12835666b059b95613778819eb3ae9bc73642 (patch) | |
tree | bd825395368d5039e039f930288b3997a2a96263 /fs/ecryptfs/crypto.c | |
parent | af655dc6a9d5028d89aa35b65781631451aadc19 (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/crypto.c')
-rw-r--r-- | fs/ecryptfs/crypto.c | 8 |
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 | */ |
221 | void ecryptfs_destruct_crypt_stat(struct ecryptfs_crypt_stat *crypt_stat) | 221 | void 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 | ||
239 | void ecryptfs_destruct_mount_crypt_stat( | 239 | void 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 | ||
1883 | int ecryptfs_destruct_crypto(void) | 1883 | int 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 | ||