# Re: \[PATCH for-5.14\] cryptoloop: add a deprecation warning

- From: Christoph Hellwig \<hch@lst.de\>
- Date: 2021-08-27 16:40:55 
- List: linux-block
- Page: https://ratatoskr.run/linux-block/2021/08/6405072
- Thread: https://ratatoskr.run/linux-block/2021/08/6405070/t.md

```text
On Fri, Aug 27, 2021 at 10:37:41AM -0600, Jens Axboe wrote:
> On 8/27/21 10:32 AM, Christoph Hellwig wrote:
> > 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.
> 
> Would probably look better to queue with the 5.15 patches at this point.
> Which then begs the question of whether we want to make the removal
> target 5.17 instead.

File locking also just managed to sneak in a short-term deprecation for
a very similar situation.
```
