diff options
author | Kees Cook <keescook@chromium.org> | 2017-03-03 18:16:32 -0800 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2017-03-07 14:00:55 -0800 |
commit | 1edd1aa397ad3ca5f1fca1961c13910ef53f16e8 (patch) | |
tree | 608e00d7713f78d48cfa199d1ba9294d59587b70 /fs/pstore/internal.h | |
parent | 634f8f5167c88052ce6d28e519ff6325172191dc (diff) | |
download | linux-1edd1aa397ad3ca5f1fca1961c13910ef53f16e8.tar.bz2 |
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 <keescook@chromium.org>
Diffstat (limited to 'fs/pstore/internal.h')
-rw-r--r-- | fs/pstore/internal.h | 5 |
1 files changed, 1 insertions, 4 deletions
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 |