fscrypt: move fscrypt_require_key() to fscrypt_private.h
authorEric Biggers <ebiggers@google.com>
Thu, 3 Dec 2020 02:20:39 +0000 (18:20 -0800)
committerEric Biggers <ebiggers@google.com>
Thu, 3 Dec 2020 02:25:01 +0000 (18:25 -0800)
commitde3cdc6e75179a2324c23400b21483a1372c95e1
treea00447048b5f1a6b4e00bbc82d707ec21e7f5a89
parent7622350e5eda2cc57a72c6b27f1405d8b4f94670
fscrypt: move fscrypt_require_key() to fscrypt_private.h

fscrypt_require_key() is now only used by files in fs/crypto/.  So
reduce its visibility to fscrypt_private.h.  This is also a prerequsite
for unexporting fscrypt_get_encryption_info().

Reviewed-by: Andreas Dilger <adilger@dilger.ca>
Link: https://lore.kernel.org/r/20201203022041.230976-8-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@google.com>
fs/crypto/fscrypt_private.h
include/linux/fscrypt.h