Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b98701df authored by Theodore Ts'o's avatar Theodore Ts'o
Browse files

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: default avatarTheodore Ts'o <tytso@mit.edu>
Reviewed-by: default avatarEric Biggers <ebiggers@google.com>
parent 3325bea5
Loading
Loading
Loading
Loading
+0 −1
Original line number Original line Diff line number Diff line
@@ -540,7 +540,6 @@ int fscrypt_initialize(void)
	mutex_unlock(&fscrypt_init_mutex);
	mutex_unlock(&fscrypt_init_mutex);
	return res;
	return res;
}
}
EXPORT_SYMBOL(fscrypt_initialize);


/**
/**
 * fscrypt_init() - Set up for fs encryption.
 * fscrypt_init() - Set up for fs encryption.
+3 −0
Original line number Original line Diff line number Diff line
@@ -13,6 +13,9 @@


#include <linux/fscrypto.h>
#include <linux/fscrypto.h>


/* crypto.c */
int fscrypt_initialize(void);

/* keyinfo.c */
/* keyinfo.c */
extern int fscrypt_get_crypt_info(struct inode *);
extern int fscrypt_get_crypt_info(struct inode *);


+0 −1
Original line number Original line Diff line number Diff line
@@ -244,7 +244,6 @@ static inline void fscrypt_set_d_op(struct dentry *dentry)
#if IS_ENABLED(CONFIG_FS_ENCRYPTION)
#if IS_ENABLED(CONFIG_FS_ENCRYPTION)
/* crypto.c */
/* crypto.c */
extern struct kmem_cache *fscrypt_info_cachep;
extern struct kmem_cache *fscrypt_info_cachep;
int fscrypt_initialize(void);


extern struct fscrypt_ctx *fscrypt_get_ctx(const struct inode *, gfp_t);
extern struct fscrypt_ctx *fscrypt_get_ctx(const struct inode *, gfp_t);
extern void fscrypt_release_ctx(struct fscrypt_ctx *);
extern void fscrypt_release_ctx(struct fscrypt_ctx *);