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:
Greg Kroah-Hartman 2020-05-01 16:51:13 +02:00 committed by Carlos Llamas
parent e7a017ab91
commit 8d09c29ee1

View File

@ -10,6 +10,7 @@
#include <linux/bvec.h>
#include <linux/device.h>
#include <linux/ktime.h>
#include <linux/android_kabi.h>
struct bio_set;
struct bio;
@ -306,6 +307,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