HomeFreeBSD

Use KERNEL_PANICKED() in more places

Description

Use KERNEL_PANICKED() in more places

This is slightly more optimized than checking panicstr directly. For
most of these instances performance doesn't matter, but let's make
KERNEL_PANICKED() the common idiom.

Reviewed by: mjg
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D35373

(cherry picked from commit 35eb9b10c265a27ce1f80a6eb74887240c7f4305)

Details

Provenance
mhorneAuthored on Jun 2 2022, 1:14 PM
Reviewer
mjg
Differential Revision
D35373: Use KERNEL_PANICKED() in more places
Parents
rG50ce252cd50d: ObsoleteFiles.inc: fixup after zpool-features.7.gz got re-introduced
Branches
Unknown
Tags
Unknown