summaryrefslogtreecommitdiffstats
path: root/fs/crypto
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2016-11-26 20:43:09 -0500
committerTheodore Ts'o <tytso@mit.edu>2016-12-11 16:26:08 -0500
commitb98701df349b7003efd52d9330acbb7be5a255c6 (patch)
tree174ba0b63d628228db2cd899f5fcc8d0337736c1 /fs/crypto
parent3325bea5b26ac67e2521383f10e5ea0156c9a4b6 (diff)
downloadop-kernel-dev-b98701df349b7003efd52d9330acbb7be5a255c6.zip
op-kernel-dev-b98701df349b7003efd52d9330acbb7be5a255c6.tar.gz
fscrypt: unexport fscrypt_initialize()
The fscrypt_initalize() function isn't used outside fs/crypto, so there's no point making it be an exported symbol. Signed-off-by: Theodore Ts'o <tytso@mit.edu> Reviewed-by: Eric Biggers <ebiggers@google.com>
Diffstat (limited to 'fs/crypto')
-rw-r--r--fs/crypto/crypto.c1
-rw-r--r--fs/crypto/fscrypt_private.h3
2 files changed, 3 insertions, 1 deletions
diff --git a/fs/crypto/crypto.c b/fs/crypto/crypto.c
index b602978..56f98f4 100644
--- a/fs/crypto/crypto.c
+++ b/fs/crypto/crypto.c
@@ -540,7 +540,6 @@ fail:
mutex_unlock(&fscrypt_init_mutex);
return res;
}
-EXPORT_SYMBOL(fscrypt_initialize);
/**
* fscrypt_init() - Set up for fs encryption.
diff --git a/fs/crypto/fscrypt_private.h b/fs/crypto/fscrypt_private.h
index 7c31108..bb92f0c 100644
--- a/fs/crypto/fscrypt_private.h
+++ b/fs/crypto/fscrypt_private.h
@@ -13,6 +13,9 @@
#include <linux/fscrypto.h>
+/* crypto.c */
+int fscrypt_initialize(void);
+
/* keyinfo.c */
extern int fscrypt_get_crypt_info(struct inode *);
OpenPOWER on IntegriCloud