diff options
author | Michael Halcrow <mhalcrow@us.ibm.com> | 2007-10-16 04:28:04 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-16 12:43:11 -0400 |
commit | cd9d67dfd2b4db5fdbf9dfa69e202b8571f1db20 (patch) | |
tree | 77682cc92d32d2bb3ce745bdbb7e76ec09c246c5 /fs/ecryptfs/crypto.c | |
parent | dd8e2902d0c02ee28043071023f8fa6063fe8e8f (diff) |
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>
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 7aa2f48978de..8e9b36df7881 100644 --- a/fs/ecryptfs/crypto.c +++ b/fs/ecryptfs/crypto.c | |||
@@ -123,9 +123,9 @@ out: | |||
123 | return rc; | 123 | return rc; |
124 | } | 124 | } |
125 | 125 | ||
126 | int ecryptfs_crypto_api_algify_cipher_name(char **algified_name, | 126 | static int ecryptfs_crypto_api_algify_cipher_name(char **algified_name, |
127 | char *cipher_name, | 127 | char *cipher_name, |
128 | char *chaining_modifier) | 128 | char *chaining_modifier) |
129 | { | 129 | { |
130 | int cipher_name_len = strlen(cipher_name); | 130 | int cipher_name_len = strlen(cipher_name); |
131 | int chaining_modifier_len = strlen(chaining_modifier); | 131 | int chaining_modifier_len = strlen(chaining_modifier); |
@@ -1859,7 +1859,7 @@ out: | |||
1859 | * should be released by other functions, such as on a superblock put | 1859 | * should be released by other functions, such as on a superblock put |
1860 | * event, regardless of whether this function succeeds for fails. | 1860 | * event, regardless of whether this function succeeds for fails. |
1861 | */ | 1861 | */ |
1862 | int | 1862 | static int |
1863 | ecryptfs_process_key_cipher(struct crypto_blkcipher **key_tfm, | 1863 | ecryptfs_process_key_cipher(struct crypto_blkcipher **key_tfm, |
1864 | char *cipher_name, size_t *key_size) | 1864 | char *cipher_name, size_t *key_size) |
1865 | { | 1865 | { |