diff options
author | Kees Cook <keescook@chromium.org> | 2018-03-06 15:57:38 -0800 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2018-03-07 12:43:35 -0800 |
commit | fe1d475888eecf1319458ee916e642e3e5e41c28 (patch) | |
tree | d975fba8225eec25ad2b3fd9ba5fd8e7ccfeb3dd /fs/pstore/internal.h | |
parent | 555974068ee533e8e0c6093ec7ca1682057aa4c1 (diff) | |
download | linux-fe1d475888eecf1319458ee916e642e3e5e41c28.tar.gz linux-fe1d475888eecf1319458ee916e642e3e5e41c28.tar.bz2 linux-fe1d475888eecf1319458ee916e642e3e5e41c28.zip |
pstore: Select compression at runtime
To allow for easier build test coverage and run-time testing, this allows
multiple compression algorithms to be built into pstore. Still only one
is supported to operate at a time (which can be selected at build time
or at boot time, similar to how LSMs are selected).
Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'fs/pstore/internal.h')
-rw-r--r-- | fs/pstore/internal.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/pstore/internal.h b/fs/pstore/internal.h index c029314478fa..fb767e28aeb2 100644 --- a/fs/pstore/internal.h +++ b/fs/pstore/internal.h @@ -37,4 +37,7 @@ extern bool pstore_is_mounted(void); extern void pstore_record_init(struct pstore_record *record, struct pstore_info *psi); +/* Called during module_init() */ +extern void __init pstore_choose_compression(void); + #endif |