HomeFreeBSD

stand: Create common gen_setcurrdev and replace code

Description

stand: Create common gen_setcurrdev and replace code

Replace 4 identical copies of *_setcurrdev with gen_setcurrdev to avoid
having to create a 5th copy. uboot_setcurrdev is actually different and
needs to remain separate (even though it's quite similar).

Sponsored by: Netflix
Reviewed by: fuz@fuz.su, kevans
Differential Revision: https://reviews.freebsd.org/D38003

Details

Provenance
impAuthored on Jan 11 2023, 10:14 PM
Reviewer
kevans
Differential Revision
D38003: stand: Create common gen_setcurrdev and replace code
Parents
rG39633fc1731c: nfscl: Improve NFSv4 error message for NFSERR_WRONGSEC
Branches
Unknown
Tags
Unknown