HomeFreeBSD

kboot: Enhance kboot_getdev to cope with NULLs

Description

kboot: Enhance kboot_getdev to cope with NULLs

Fallback to currdev when NULL is passed in when 'rootdev' is NULL. Other
getdevs do this. Additional features are needed here still, though.

Sponsored by: Netflix

(cherry picked from commit bf35f00522676d6e456b19168908cfa890ae0782)

Details

Provenance
impAuthored on Jul 15 2022, 1:32 PM
Parents
rG4bae1d08388f: kboot: Reimplement older system calls in terms of newer ones
Branches
Unknown
Tags
Unknown