diff options
author | Kees Cook <keescook@chromium.org> | 2017-03-04 03:16:32 +0100 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2017-03-07 23:00:55 +0100 |
commit | 1edd1aa397ad3ca5f1fca1961c13910ef53f16e8 (patch) | |
tree | 608e00d7713f78d48cfa199d1ba9294d59587b70 /fs/pstore/internal.h | |
parent | pstore: Move record decompression to function (diff) | |
download | linux-1edd1aa397ad3ca5f1fca1961c13910ef53f16e8.tar.xz linux-1edd1aa397ad3ca5f1fca1961c13910ef53f16e8.zip |
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 |