summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2016-11-26 20:32:46 -0500
committerTheodore Ts'o <tytso@mit.edu>2016-12-11 16:26:08 -0500
commit3325bea5b26ac67e2521383f10e5ea0156c9a4b6 (patch)
tree10786f5a7f95b56fdf38615b197aa37f068af3f5 /include
parentdb717d8e26c2d1b0dba3e08668a1e6a7f665adde (diff)
downloadlinux-3325bea5b26ac67e2521383f10e5ea0156c9a4b6.tar.bz2
fscrypt: rename get_crypt_info() to fscrypt_get_crypt_info()
To avoid namespace collisions, rename get_crypt_info() to fscrypt_get_crypt_info(). The function is only used inside the fs/crypto directory, so declare it in the new header file, fscrypt_private.h. Signed-off-by: Theodore Ts'o <tytso@mit.edu> Reviewed-by: Eric Biggers <ebiggers@google.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/fscrypto.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/fscrypto.h b/include/linux/fscrypto.h
index be94684dc05f..2f8894f0696c 100644
--- a/include/linux/fscrypto.h
+++ b/include/linux/fscrypto.h
@@ -265,7 +265,6 @@ extern int fscrypt_has_permitted_context(struct inode *, struct inode *);
extern int fscrypt_inherit_context(struct inode *, struct inode *,
void *, bool);
/* keyinfo.c */
-extern int get_crypt_info(struct inode *);
extern int fscrypt_get_encryption_info(struct inode *);
extern void fscrypt_put_encryption_info(struct inode *, struct fscrypt_info *);