HomeFreeBSD

efivar: Allow NULL paths in build_dp

Description

efivar: Allow NULL paths in build_dp

Allow there to be NULL paths in buildp. This lets us return the device
path to the partition, as well as to files on the partition.

Sponsored by: Netflix
Reviewed by: corvink, manu, asomers
Differential Revision: https://reviews.freebsd.org/D38615
Approved by: re@ (cperciva)

(cherry picked from commit 49fd6affdbfe6af53f119ebb27ff5e5e292e1f67)
(cherry picked from commit 82c0aea8f3c270c6d20b093cf711d4bb1472237c)

Details

Provenance
impAuthored on Feb 16 2023, 4:36 PM
Reviewer
corvink
Differential Revision
D38615: efivar: Allow NULL paths in build_dp
Parents
rG0c479a5c47db: efivar: Try harder to find label's efimedia
Branches
Unknown
Tags
Unknown