HomeFreeBSD

- Don't destroy UMA zone on error in mdcreate_malloc(), because we need it

Description

  • Don't destroy UMA zone on error in mdcreate_malloc(), because we need it in mddestroy() to properly free already allocated memory. This fixes a panic when we want to create too big memory backed device with preallocate memory (-o reserve).
  • Remove redundant { }.

MFC after: 1 week

Details

Provenance
pjdAuthored on Jan 22 2005, 7:56 PM
Parents
rG980b4f7474f7: Make sure that we don't define INET6 when NO_INET6 is defined.
Branches
Unknown
Tags
Unknown

Event Timeline