blk-crypto: don't use struct request_queue for public interfaces
authorChristoph Hellwig <hch@lst.de>
Thu, 4 May 2023 03:54:11 +0000 (20:54 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 11 May 2023 14:03:00 +0000 (23:03 +0900)
commitf0efb2365153a78fce040defb40d846b069b75a0
tree65208afede2dd9ddddf0eb1dbe612949f375ac3a
parent316ad076e0d35d0844ba3c79cb8c9639d3dbf7f8
blk-crypto: don't use struct request_queue for public interfaces

commit fce3caea0f241f5d34855c82c399d5e0e2d91f07 upstream.

Switch all public blk-crypto interfaces to use struct block_device
arguments to specify the device they operate on instead of th
request_queue, which is a block layer implementation detail.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Eric Biggers <ebiggers@google.com>
Link: https://lore.kernel.org/r/20221114042944.1009870-2-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/block/inline-encryption.rst
block/blk-crypto.c
drivers/md/dm-table.c
fs/crypto/inline_crypt.c
include/linux/blk-crypto.h