eCryptfs: make needlessly global symbols static
Andrew Morton wrote: > Please check that all the newly-added global symbols do indeed need > to be global. Change symbols in keystore.c and crypto.o to static if they do not need to be global. 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>
This commit is contained in:
committed by
Linus Torvalds
parent
dd8e2902d0
commit
cd9d67dfd2
@@ -123,9 +123,9 @@ out:
|
||||
return rc;
|
||||
}
|
||||
|
||||
int ecryptfs_crypto_api_algify_cipher_name(char **algified_name,
|
||||
char *cipher_name,
|
||||
char *chaining_modifier)
|
||||
static int ecryptfs_crypto_api_algify_cipher_name(char **algified_name,
|
||||
char *cipher_name,
|
||||
char *chaining_modifier)
|
||||
{
|
||||
int cipher_name_len = strlen(cipher_name);
|
||||
int chaining_modifier_len = strlen(chaining_modifier);
|
||||
@@ -1859,7 +1859,7 @@ out:
|
||||
* should be released by other functions, such as on a superblock put
|
||||
* event, regardless of whether this function succeeds for fails.
|
||||
*/
|
||||
int
|
||||
static int
|
||||
ecryptfs_process_key_cipher(struct crypto_blkcipher **key_tfm,
|
||||
char *cipher_name, size_t *key_size)
|
||||
{
|
||||
|
Reference in New Issue
Block a user