HomeFreeBSD

MFC r356279: libbe(3): promote dependent clones when destroying a BE

Description

MFC r356279: libbe(3): promote dependent clones when destroying a BE

When removing a boot environment iterate over the dependents and process the
snapshots by grabbing any clones. Promote the clones we found and then
remove the target environment.

This fixes the ability to destroy a boot environment when it has been used
to spawn one or more other boot environments.

PR: 242592

Details

Provenance
kevansAuthored on
Parents
rS356592: Replace inline assembly with rdtime macro
Branches
Unknown
Tags
Unknown