mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-06 03:45:24 -04:00
ANDROID: vendor_hooks: Add a vendor data to file struct
Add ANDROID_VENDOR_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:
parent
e89b05984d
commit
3b300ff4c5
1 changed files with 3 additions and 0 deletions
|
|
@ -44,6 +44,7 @@
|
|||
|
||||
#include <asm/byteorder.h>
|
||||
#include <uapi/linux/fs.h>
|
||||
#include <linux/android_vendor.h>
|
||||
|
||||
struct backing_dev_info;
|
||||
struct bdi_writeback;
|
||||
|
|
@ -990,6 +991,8 @@ struct file {
|
|||
#endif /* #ifdef CONFIG_EPOLL */
|
||||
struct address_space *f_mapping;
|
||||
errseq_t f_wb_err;
|
||||
|
||||
ANDROID_VENDOR_DATA(1);
|
||||
} __randomize_layout
|
||||
__attribute__((aligned(4))); /* lest something weird decides that 2 is OK */
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue