HomeFreeBSD

Fix a memory leak that occurred in the pNFS client.

Description

Fix a memory leak that occurred in the pNFS client.

When a "pnfs" NFSv4.1 mount was unmounted, it didn't free up the layouts
and deviceinfo structures. This leak only affects "pnfs" mounts and only
when the mount is umounted.
Found while testing the pNFS Flexible File layout client code.

MFC after: 2 weeks

Details

Provenance
rmacklemAuthored on
Parents
rS324073: Use UMA_ALIGNOF() for name cache UMA zones.
Branches
Unknown
Tags
Unknown