HomeFreeBSD

MFC r351320: Formalize NVMe controller consumer life cycle.

Description

MFC r351320: Formalize NVMe controller consumer life cycle.

This fixes possible double call of fail_fn, for example on hot removal.
It also allows ctrlr_fn to safely return NULL cookie in case of failure
and not get useless ns_fn or fail_fn call with NULL cookie later.

Details

Committed
mavAug 28 2019, 8:58 PM
Parents
rS351585: tmpfs: use VOP_NEED_INACTIVE
Branches
Unknown
Tags
Unknown