]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
pstore/blk: Introduce "best_effort" mode
authorKees Cook <keescook@chromium.org>
Fri, 8 May 2020 15:34:01 +0000 (08:34 -0700)
committerKees Cook <keescook@chromium.org>
Mon, 1 Jun 2020 02:49:01 +0000 (19:49 -0700)
commitf8feafeaeedbf0a324c373c5fa29a2098a69c458
treeaad8cbc80ade0f54b38c968bc9bfc13a8db420bb
parent7dcb7848ba110ff192efc917d1a6de66b4c9ca4f
pstore/blk: Introduce "best_effort" mode

In order to use arbitrary block devices as a pstore backend, provide a
new module param named "best_effort", which will allow using any block
device, even if it has not provided a panic_write callback.

Link: https://lore.kernel.org/lkml/20200511233229.27745-12-keescook@chromium.org/
Signed-off-by: Kees Cook <keescook@chromium.org>
fs/pstore/blk.c