Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a94ee7f5 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman
Browse files

ANDROID: GKI: iomap.h: add Android ABI padding to a structure



Try to mitigate potential future driver core api changes by adding a
padding to struct iomap_ops.

Based on a change made to the RHEL/CENTOS 8 kernel.

Bug: 151154716
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
Change-Id: I1803d5163f7a1d0320f567b983a8241777284c5e
parent 1e8483f5
Loading
Loading
Loading
Loading
+4 −0
Original line number Original line Diff line number Diff line
@@ -6,6 +6,7 @@
#include <linux/bitmap.h>
#include <linux/bitmap.h>
#include <linux/mm.h>
#include <linux/mm.h>
#include <linux/types.h>
#include <linux/types.h>
#include <linux/android_kabi.h>


struct address_space;
struct address_space;
struct fiemap_extent_info;
struct fiemap_extent_info;
@@ -99,6 +100,9 @@ struct iomap_ops {
	 */
	 */
	int (*iomap_end)(struct inode *inode, loff_t pos, loff_t length,
	int (*iomap_end)(struct inode *inode, loff_t pos, loff_t length,
			ssize_t written, unsigned flags, struct iomap *iomap);
			ssize_t written, unsigned flags, struct iomap *iomap);

	ANDROID_KABI_RESERVE(1);
	ANDROID_KABI_RESERVE(2);
};
};


/*
/*