On Tue, Jul 22, 2025 at 09:27:19PM +0200, Christian Brauner wrote: > Store the offset of the fscrypt data pointer from struct inode in struct > super_operations. Both are embedded in the filesystem's private inode. > > This will allow us to drop the fscrypt data pointer from struct inode > itself and move it into the filesystem's inode. > > Signed-off-by: Christian Brauner <brauner@xxxxxxxxxx> > --- > include/linux/fs.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/include/linux/fs.h b/include/linux/fs.h > index 96c7925a6551..991089969e71 100644 > --- a/include/linux/fs.h > +++ b/include/linux/fs.h > @@ -2332,6 +2332,7 @@ enum freeze_holder { > }; > > struct super_operations { > + ptrdiff_t i_fscrypt; Umm... Why not put that into super_block itself?