]> www.infradead.org Git - users/hch/block.git/commit
block: remove support for cryptoloop and the xor transfer remove-loop-transformations
authorChristoph Hellwig <hch@lst.de>
Thu, 26 Aug 2021 09:41:52 +0000 (11:41 +0200)
committerChristoph Hellwig <hch@lst.de>
Fri, 27 Aug 2021 07:07:37 +0000 (09:07 +0200)
commit14bf42619c9ff5a544c1ad517d481253dc799b06
tree792d9fe9dc2ffdbe1c5e2b38d2765f43b99591c1
parentf75a126f84e73f6ec6d4f3d56137efb3945ece1e
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>
drivers/block/Kconfig
drivers/block/Makefile
drivers/block/cryptoloop.c [deleted file]
drivers/block/loop.c
drivers/block/loop.h