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; struct inode *(*alloc_inode)(struct super_block *sb); void (*destroy_inode)(struct inode *); void (*free_inode)(struct inode *); -- 2.47.2