From a033dd393f15ce607e2a9db13f088500ef060733 Mon Sep 17 00:00:00 2001 From: Charan Teja Kalla Date: Tue, 14 Mar 2023 18:46:08 +0530 Subject: [PATCH] ANDROID: mm: shmem: add vendor data in 'shmem_inode_info' Add vendor specific data in the 'struct shmem_inode_info'. Bug: 273448633 Change-Id: I83a3ac822275d2464af7eb25b869b816fdb7276e Signed-off-by: Charan Teja Kalla --- include/linux/shmem_fs.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/linux/shmem_fs.h b/include/linux/shmem_fs.h index d500ea967dc7..e83049418539 100644 --- a/include/linux/shmem_fs.h +++ b/include/linux/shmem_fs.h @@ -9,6 +9,7 @@ #include #include #include +#include /* inode in-kernel data */ @@ -27,6 +28,8 @@ struct shmem_inode_info { struct timespec64 i_crtime; /* file creation time */ unsigned int fsflags; /* flags for FS_IOC_[SG]ETFLAGS */ struct inode vfs_inode; + + ANDROID_VENDOR_DATA(1); }; #define SHMEM_FL_USER_VISIBLE FS_FL_USER_VISIBLE