ANDROID: vendor_hooks: Add oem data to file struct

Add ANDROID_OEM_DATA(1) to struct file

Bug: 169343953
Signed-off-by: Egor Uleyskiy <e.uleyskiy@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: I1afc259f2bd02fee76b20802dda74cbe79658534
This commit is contained in:
Egor Uleyskiy
2020-10-07 21:54:07 +03:00
committed by Todd Kjos
parent 37485a3025
commit 9af9ef8dfa

View File

@@ -43,6 +43,7 @@
#include <asm/byteorder.h> #include <asm/byteorder.h>
#include <uapi/linux/fs.h> #include <uapi/linux/fs.h>
#include <linux/android_vendor.h>
struct backing_dev_info; struct backing_dev_info;
struct bdi_writeback; struct bdi_writeback;
@@ -969,6 +970,7 @@ struct file {
ANDROID_KABI_RESERVE(1); ANDROID_KABI_RESERVE(1);
ANDROID_KABI_RESERVE(2); ANDROID_KABI_RESERVE(2);
ANDROID_OEM_DATA(1);
} __randomize_layout } __randomize_layout
__attribute__((aligned(4))); /* lest something weird decides that 2 is OK */ __attribute__((aligned(4))); /* lest something weird decides that 2 is OK */