Re: [PATCH v7 02/43] fscrypt: allow inline encryption for extent based encryption
Eric Biggers <[email protected]> Mon, 1 Jun 2026 15:49:20 -0700
| Newsgroups | org.kernel.vger.linux-fscrypt,org.kernel.vger.linux-block,org.kernel.vger.linux-btrfs,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <20260601224920.GB25574@quark> |
On Wed, May 13, 2026 at 10:52:36AM +0200, Daniel Vacek wrote: > From: Josef Bacik <[email protected]> > > Instead of requiring -o inlinecrypt to enable inline encryption, allow > having s_cop->has_per_extent_encryption to indicate that this file > system supports inline encryption. > > Signed-off-by: Josef Bacik <[email protected]> > Signed-off-by: Daniel Vacek <[email protected]> > --- > > v5: https://lore.kernel.org/linux-btrfs/ba0289bf103653d5d98ef576756c9a2a66192865.1706116485.git.josef@toxicpanda.com/ > * No changes since. There are multiple places that check SB_INLINECRYPT, and just one was updated. Perhaps we should just require that if a filesystem sets has_per_extent_encryption, then it also sets SB_INLINECRYPT unconditionally? - Eric