mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 02:50:49 +09:00
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:
committed by
Suren Baghdasaryan
parent
9e35a21ec0
commit
a033dd393f
@@ -9,6 +9,7 @@
|
|||||||
#include <linux/percpu_counter.h>
|
#include <linux/percpu_counter.h>
|
||||||
#include <linux/xattr.h>
|
#include <linux/xattr.h>
|
||||||
#include <linux/fs_parser.h>
|
#include <linux/fs_parser.h>
|
||||||
|
#include <linux/android_vendor.h>
|
||||||
|
|
||||||
/* inode in-kernel data */
|
/* inode in-kernel data */
|
||||||
|
|
||||||
@@ -27,6 +28,8 @@ struct shmem_inode_info {
|
|||||||
struct timespec64 i_crtime; /* file creation time */
|
struct timespec64 i_crtime; /* file creation time */
|
||||||
unsigned int fsflags; /* flags for FS_IOC_[SG]ETFLAGS */
|
unsigned int fsflags; /* flags for FS_IOC_[SG]ETFLAGS */
|
||||||
struct inode vfs_inode;
|
struct inode vfs_inode;
|
||||||
|
|
||||||
|
ANDROID_VENDOR_DATA(1);
|
||||||
};
|
};
|
||||||
|
|
||||||
#define SHMEM_FL_USER_VISIBLE FS_FL_USER_VISIBLE
|
#define SHMEM_FL_USER_VISIBLE FS_FL_USER_VISIBLE
|
||||||
|
|||||||
Reference in New Issue
Block a user