]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
block: export blk-crypto symbols required by dm-inlinecrypt
authorEric Biggers <ebiggers@google.com>
Thu, 30 Apr 2026 09:52:42 +0000 (02:52 -0700)
committerMikulas Patocka <mpatocka@redhat.com>
Wed, 6 May 2026 15:41:29 +0000 (17:41 +0200)
commit623463c8db708cfadad4f29400eada0d3cff111a
treef40e472ec98439791a126fb0d6d557c3c5450aeb
parent2ac3de0bbf40ecf32875e0a28b592a5d97d0503e
block: export blk-crypto symbols required by dm-inlinecrypt

bio_crypt_set_ctx(), blk_crypto_init_key(), and
blk_crypto_start_using_key() are needed to use inline encryption; see
Documentation/block/inline-encryption.rst.  Export them so that
dm-inlinecrypt can use them.  The only reason these weren't exported
before was that inline encryption was previously used only by fs/crypto/
which is built-in code.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
block/blk-crypto.c