diff options
author | Eric Biggers <ebiggers@google.com> | 2020-12-02 18:20:40 -0800 |
---|---|---|
committer | Eric Biggers <ebiggers@google.com> | 2020-12-02 18:25:01 -0800 |
commit | 5b421f08801fe8247dec368b3d323958f419e769 (patch) | |
tree | 80b205ffa70f9d6c979d75b28dd26327da7df873 /fs/crypto/fscrypt_private.h | |
parent | de3cdc6e75179a2324c23400b21483a1372c95e1 (diff) | |
download | linux-5b421f08801fe8247dec368b3d323958f419e769.tar.gz linux-5b421f08801fe8247dec368b3d323958f419e769.tar.bz2 linux-5b421f08801fe8247dec368b3d323958f419e769.zip |
fscrypt: unexport fscrypt_get_encryption_info()
Now that fscrypt_get_encryption_info() is only called from files in
fs/crypto/ (due to all key setup now being handled by higher-level
helper functions instead of directly by filesystems), unexport it and
move its declaration to fscrypt_private.h.
Reviewed-by: Andreas Dilger <adilger@dilger.ca>
Link: https://lore.kernel.org/r/20201203022041.230976-9-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@google.com>
Diffstat (limited to 'fs/crypto/fscrypt_private.h')
-rw-r--r-- | fs/crypto/fscrypt_private.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/crypto/fscrypt_private.h b/fs/crypto/fscrypt_private.h index 16dd55080127..c1c302656c34 100644 --- a/fs/crypto/fscrypt_private.h +++ b/fs/crypto/fscrypt_private.h @@ -571,6 +571,8 @@ int fscrypt_derive_dirhash_key(struct fscrypt_info *ci, void fscrypt_hash_inode_number(struct fscrypt_info *ci, const struct fscrypt_master_key *mk); +int fscrypt_get_encryption_info(struct inode *inode); + /** * fscrypt_require_key() - require an inode's encryption key * @inode: the inode we need the key for |