ANDROID: GKI: blk_types.h: add Android ABI padding to a structure
Try to mitigate potential future driver core api changes by adding a padding to struct bio. Based on a change made to the RHEL/CENTOS 8 kernel. Bug: 151154716 Signed-off-by: Greg Kroah-Hartman <gregkh@google.com> Change-Id: Ib69c7bb8b553cacb9cb7bc020d8ac2bbc75621ba
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
#include <linux/types.h>
|
||||
#include <linux/bvec.h>
|
||||
#include <linux/ktime.h>
|
||||
#include <linux/android_kabi.h>
|
||||
|
||||
struct bio_set;
|
||||
struct bio;
|
||||
@@ -261,6 +262,9 @@ struct bio {
|
||||
|
||||
struct bio_set *bi_pool;
|
||||
|
||||
ANDROID_KABI_RESERVE(1);
|
||||
ANDROID_KABI_RESERVE(2);
|
||||
|
||||
/*
|
||||
* We can inline a number of vecs at the end of the bio, to avoid
|
||||
* double allocations for a small number of bio_vecs. This member
|
||||
|
Reference in New Issue
Block a user