mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 12:25:00 -04:00
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:
parent
02a7ee2f6e
commit
36f48845cf
1 changed files with 4 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
@ -202,6 +203,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
|
||||
|
|
|
|||
Loading…
Reference in a new issue