vmd: Clean up resources properly when vmd_attach() fails
- Free the resource container by calling rman_fini().[1]
- Call device_delete_child() if device_probe_and_attach() fails.
Reported by: nc [1]
MFC after: 2 weeks
vmd: Clean up resources properly when vmd_attach() fails Tags None Referenced Files None Subscribers None
Description
Details
|