Re: [PATCH v1 1/3] block: export blk-crypto symbols required by dm-inlinecrypt
From: Mikulas Patocka
Date: Mon Mar 09 2026 - 12:13:06 EST
On Mon, 9 Mar 2026, Jens Axboe wrote:
> On 3/4/26 5:17 AM, Linlin Zhang wrote:
> > From: Eric Biggers <ebiggers@xxxxxxxxxx>
> >
> > 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.
>
> Reviewed-by: Jens Axboe <axboe@xxxxxxxxx>
>
> --
> Jens Axboe
Thanks.
Mikulas