HomeFreeBSD

We only ever need one devinfo per handle. So allocate it outside of

Description

We only ever need one devinfo per handle. So allocate it outside of
looping over the filesystem modules rather than doing a malloc + free
each time through the loop. In addition, nothing changes from loop to
loop, so setup the new devinfo outside the loop as well.

Details

Provenance
impAuthored on
Parents
rS347193: Reach over and pull in devpath.c from libefi
Branches
Unknown
Tags
Unknown