ANDROID: cleancache: add oem data to cleancache_ops
Add ANDROID_OEM_DATA to cleancache_ops which allows a new function call between cleancache core and cleancache backend. Bug: 192984560 Signed-off-by: Jaewon Kim <jaewon31.kim@samsung.com> Change-Id: I99fb98f33b564fb288dc0d368b9d3049de5efdf9
This commit is contained in:
parent
a0c429e8e1
commit
6119d18df7
@ -5,6 +5,7 @@
|
||||
#include <linux/fs.h>
|
||||
#include <linux/exportfs.h>
|
||||
#include <linux/mm.h>
|
||||
#include <linux/android_vendor.h>
|
||||
|
||||
#define CLEANCACHE_NO_POOL -1
|
||||
#define CLEANCACHE_NO_BACKEND -2
|
||||
@ -36,6 +37,7 @@ struct cleancache_ops {
|
||||
void (*invalidate_page)(int, struct cleancache_filekey, pgoff_t);
|
||||
void (*invalidate_inode)(int, struct cleancache_filekey);
|
||||
void (*invalidate_fs)(int);
|
||||
ANDROID_OEM_DATA(1);
|
||||
};
|
||||
|
||||
extern int cleancache_register_ops(const struct cleancache_ops *ops);
|
||||
|
Loading…
Reference in New Issue
Block a user