From 1edd1aa397ad3ca5f1fca1961c13910ef53f16e8 Mon Sep 17 00:00:00 2001 From: Kees Cook Date: Fri, 3 Mar 2017 18:16:32 -0800 Subject: pstore: Switch pstore_mkfile to pass record Instead of the long list of arguments, just pass the new record struct. Signed-off-by: Kees Cook --- fs/pstore/internal.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'fs/pstore/internal.h') diff --git a/fs/pstore/internal.h b/fs/pstore/internal.h index da416e6591c9..af1df5a36d86 100644 --- a/fs/pstore/internal.h +++ b/fs/pstore/internal.h @@ -25,10 +25,7 @@ extern struct pstore_info *psinfo; extern void pstore_set_kmsg_bytes(int); extern void pstore_get_records(int); -extern int pstore_mkfile(enum pstore_type_id, char *psname, u64 id, - int count, char *data, bool compressed, - size_t size, struct timespec time, - struct pstore_info *psi); +extern int pstore_mkfile(struct pstore_record *record); extern bool pstore_is_mounted(void); #endif -- cgit v1.2.3