diff options
author | Eric Biggers <ebiggers@google.com> | 2023-07-06 00:27:42 +0300 |
---|---|---|
committer | Eric Biggers <ebiggers@google.com> | 2023-07-12 08:49:18 +0300 |
commit | e77000ccc531088c486fe5fbd13416fd5e3d2714 (patch) | |
tree | cc75f2c75caa4054a06635125884bf67210aa066 /Makefile | |
parent | 5d37a1198068b099de47073411efc087d1b555ca (diff) | |
download | linux-e77000ccc531088c486fe5fbd13416fd5e3d2714.tar.xz |
fsverity: simplify handling of errors during initcall
Since CONFIG_FS_VERITY is a bool, not a tristate, fs/verity/ can only be
builtin or absent entirely; it can't be a loadable module. Therefore,
the error code that gets returned from the fsverity_init() initcall is
never used. If any part of the initcall does fail, which should never
happen, the kernel will be left in a bad state.
Following the usual convention for builtin code, just panic the kernel
if any of part of the initcall fails.
Link: https://lore.kernel.org/r/20230705212743.42180-2-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@google.com>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions