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 94e58fdb6e
commit c422535706
1 changed files with 4 additions and 0 deletions

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;
@ -276,6 +277,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