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 <quic_charante@quicinc.com>
This commit is contained in:
parent
9e35a21ec0
commit
a033dd393f
1 changed files with 3 additions and 0 deletions
|
|
@ -9,6 +9,7 @@
|
|||
#include <linux/percpu_counter.h>
|
||||
#include <linux/xattr.h>
|
||||
#include <linux/fs_parser.h>
|
||||
#include <linux/android_vendor.h>
|
||||
|
||||
/* 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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue