HomeFreeBSD

Add clearing function for unr(9).

Description

Add clearing function for unr(9).

Previously before you could call unrhdr_delete you needed to
individually free every allocated unit. It is useful to be able to tear
down the unr without having to go through this process, as it is
significantly faster than freeing the individual units.

Reviewed by: cem, lidl
Approved by: rstone (mentor)
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D12591

Details

Provenance
mjorasAuthored on
Reviewer
cem
Differential Revision
D12591: Add clearing function for unr(9), call it from tmpfs.
Parents
rS324540: Hand releng/10.4 over to so@.
Branches
Unknown
Tags
Unknown