cryptoloop: add a deprecation warning
authorChristoph Hellwig <hch@lst.de>
Fri, 27 Aug 2021 16:32:50 +0000 (18:32 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 22 Sep 2021 09:45:15 +0000 (11:45 +0200)
commitda113c32ec3924bece52a0c0e42698ad4f97f881
tree1c5c7d64c01d1a7290872485143d42650fe307f2
parent7cb7b441f5f5c734801eb64e4a78844e4daf5905
cryptoloop: add a deprecation warning

[ Upstream commit 222013f9ac30b9cec44301daa8dbd0aae38abffb ]

Support for cryptoloop 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).  Add a warning and a deprecation schedule.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20210827163250.255325-1-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/block/Kconfig
drivers/block/cryptoloop.c