block: remove support for cryptoloop and the xor transfer
authorChristoph Hellwig <hch@lst.de>
Tue, 19 Oct 2021 07:56:39 +0000 (09:56 +0200)
committerJens Axboe <axboe@kernel.dk>
Fri, 22 Oct 2021 14:34:58 +0000 (08:34 -0600)
commit47e9624616c80c9879feda536c48c6a3a0ed9835
tree2817e9708cb6fc994b1c2c6d94559e2851fd845b
parent83b863f4a3f0de4ece7802d9121fed0c3e64145f
block: remove support for cryptoloop and the xor transfer

Support for cyrptoloop has been officially marked broken and deprecated
in favor of dm-crypt (which supports the same broken algorithms if
needed) in Linux 2.6.4 (released in March 2004), and support for it has
been entirely removed from losetup in util-linux 2.23 (released in April
2013).  The XOR transfer has never been more than a toy to demonstrate
the transfer in the bad old times of crypto export restrictions.
Remove them as they have some nasty interactions with loop device life
times due to the iteration over all loop devices in
loop_unregister_transfer.

Suggested-by: Milan Broz <gmazyland@gmail.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20211019075639.2333969-1-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/Kconfig
drivers/block/Makefile
drivers/block/cryptoloop.c [deleted file]
drivers/block/loop.c
drivers/block/loop.h