diff options
author | Kees Cook <keescook@chromium.org> | 2017-05-19 15:10:31 -0700 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2017-05-31 10:13:44 -0700 |
commit | e581ca813a40a4ee53c862d8f6303f486c4b4c34 (patch) | |
tree | 66ce296957a12b61e9a583d756b6a0120eb9ded8 /fs/pstore/internal.h | |
parent | efb74e4bb1abeb5bd4c9296b2adfdc253561bc72 (diff) | |
download | linux-e581ca813a40a4ee53c862d8f6303f486c4b4c34.tar.gz linux-e581ca813a40a4ee53c862d8f6303f486c4b4c34.tar.bz2 linux-e581ca813a40a4ee53c862d8f6303f486c4b4c34.zip |
pstore: Create common record initializer
In preparation for setting timestamps in the pstore core, create a common
initializer routine, instead of using static initializers.
Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'fs/pstore/internal.h')
-rw-r--r-- | fs/pstore/internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/pstore/internal.h b/fs/pstore/internal.h index c416e653dc4f..58051265626f 100644 --- a/fs/pstore/internal.h +++ b/fs/pstore/internal.h @@ -30,5 +30,7 @@ extern void pstore_get_backend_records(struct pstore_info *psi, extern int pstore_mkfile(struct dentry *root, struct pstore_record *record); extern bool pstore_is_mounted(void); +extern void pstore_record_init(struct pstore_record *record, + struct pstore_info *psi); #endif |