diff options
author | Christoph Hellwig <hch@lst.de> | 2021-08-27 18:32:50 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-08-27 18:44:54 +0200 |
commit | 222013f9ac30b9cec44301daa8dbd0aae38abffb (patch) | |
tree | 70bc380de2f09a35bee7df6b3655d94bf6147d78 /drivers/block/cryptoloop.c | |
parent | pd: fix a NULL vs IS_ERR() check (diff) | |
download | linux-222013f9ac30b9cec44301daa8dbd0aae38abffb.tar.xz linux-222013f9ac30b9cec44301daa8dbd0aae38abffb.zip |
cryptoloop: add a deprecation warning
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>
Diffstat (limited to '')
-rw-r--r-- | drivers/block/cryptoloop.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/block/cryptoloop.c b/drivers/block/cryptoloop.c index 3cabc335ae74..f0a91faa43a8 100644 --- a/drivers/block/cryptoloop.c +++ b/drivers/block/cryptoloop.c @@ -189,6 +189,8 @@ init_cryptoloop(void) if (rc) printk(KERN_ERR "cryptoloop: loop_register_transfer failed\n"); + else + pr_warn("the cryptoloop driver has been deprecated and will be removed in in Linux 5.16\n"); return rc; } |