Re: [PATCH v6 1/8] btrfs: disable various operations on encrypted inodes
From: David Sterba
Date: Thu Nov 13 2025 - 05:22:51 EST
On Thu, Nov 13, 2025 at 07:40:35AM +1030, Qu Wenruo wrote:
> 在 2025/11/13 06:06, Daniel Vacek 写道:
> > From: Omar Sandoval <osandov@xxxxxxxxxxx>
> >
> > Initially, only normal data extents will be encrypted. This change
> > forbids various other bits:
> > - allows reflinking only if both inodes have the same encryption status
> > - disable inline data on encrypted inodes
>
> I'm wondering how will this affect other users of inlined data.
> Especially for symbol links.
>
> Symbol links always store they link source inside an inline data file
> extent. Does such content also get encrypted?
Symlinks are passed to the fscrypt API and encrypted if needed, using
ext4_symlink() as an example.