BACKPORT: blk-crypto: add a blk_crypto_config_supported_natively helper
Add a blk_crypto_config_supported_natively helper that wraps __blk_crypto_cfg_supported to retrieve the crypto_profile from the request queue. With this fscrypt can stop including blk-crypto-profile.h and rely on the public consumer interface in blk-crypto.h. Signed-off-by:Christoph Hellwig <hch@lst.de> Reviewed-by:
Eric Biggers <ebiggers@google.com> Link: https://lore.kernel.org/r/20221114042944.1009870-3-hch@lst.de Signed-off-by:
Jens Axboe <axboe@kernel.dk> (cherry picked from commit 6715c98b) (resolved conflicts in blk_crypto_config_supported() and __blk_crypto_bio_prep()) Change-Id: I40c4ab6bd9a108661c40c837227b6aed64685ae7 Signed-off-by:
Eric Biggers <ebiggers@google.com>
Loading
Please sign in to comment