ANDROID: GKI: fs.h: add Android ABI padding to struct file

Try to mitigate potential future driver core api changes by adding
padding to struct file;

Bug: 151154716
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: Iba08ecfbd9cf365fe867cb57dbadf2eea00eaf0c
This commit is contained in:
Greg Kroah-Hartman 2020-10-08 15:08:51 +02:00
commit b7d30a3293

View file

@ -992,6 +992,7 @@ struct file {
struct address_space *f_mapping;
errseq_t f_wb_err;
ANDROID_KABI_RESERVE(1);
ANDROID_VENDOR_DATA(1);
} __randomize_layout
__attribute__((aligned(4))); /* lest something weird decides that 2 is OK */