fscrypt: unexport fscrypt_get_encryption_info()
authorEric Biggers <ebiggers@google.com>
Thu, 3 Dec 2020 02:20:40 +0000 (18:20 -0800)
committerEric Biggers <ebiggers@google.com>
Thu, 3 Dec 2020 02:25:01 +0000 (18:25 -0800)
commit5b421f08801fe8247dec368b3d323958f419e769
tree80b205ffa70f9d6c979d75b28dd26327da7df873
parentde3cdc6e75179a2324c23400b21483a1372c95e1
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>
fs/crypto/fscrypt_private.h
fs/crypto/keysetup.c
include/linux/fscrypt.h