blk-crypto: move internal only declarations to blk-crypto-internal.h
authorChristoph Hellwig <hch@lst.de>
Mon, 14 Nov 2022 04:29:44 +0000 (05:29 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 21 Nov 2022 18:39:05 +0000 (11:39 -0700)
commit3569788c08235c6f3e9e6ca724b2df44787ff487
treee98853286824c390d9f4137954c163b76e57c398
parent6715c98b6cf003f26b1b2f655393134e9d999a05
blk-crypto: move internal only declarations to blk-crypto-internal.h

 blk_crypto_get_keyslot, blk_crypto_put_keyslot, __blk_crypto_evict_key
and __blk_crypto_cfg_supported are only used internally by the
blk-crypto code, so move the out of blk-crypto-profile.h, which is
included by drivers that supply blk-crypto functionality.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Eric Biggers <ebiggers@google.com>
Link: https://lore.kernel.org/r/20221114042944.1009870-4-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-crypto-internal.h
include/linux/blk-crypto-profile.h