blk-crypto: don't use struct request_queue for public interfaces
authorChristoph Hellwig <hch@lst.de>
Mon, 14 Nov 2022 04:29:42 +0000 (05:29 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 21 Nov 2022 18:39:05 +0000 (11:39 -0700)
commitfce3caea0f241f5d34855c82c399d5e0e2d91f07
tree5deb5097b8018bbfc94b72d6aebef23bd358a3b2
parentdae590a6c96c799434e0ff8156ef29b88c257e60
blk-crypto: don't use struct request_queue for public interfaces

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>
Documentation/block/inline-encryption.rst
block/blk-crypto.c
drivers/md/dm-table.c
fs/crypto/inline_crypt.c
include/linux/blk-crypto.h