From b7d30a3293ec91f43c272e4307b0f01758710c31 Mon Sep 17 00:00:00 2001 From: Greg Kroah-Hartman Date: Thu, 8 Oct 2020 15:08:51 +0200 Subject: [PATCH] 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 Change-Id: Iba08ecfbd9cf365fe867cb57dbadf2eea00eaf0c --- include/linux/fs.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/linux/fs.h b/include/linux/fs.h index b018302ad852..f97c1879a601 100644 --- a/include/linux/fs.h +++ b/include/linux/fs.h @@ -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 */