HomeFreeBSD

Create wrapper for Giant taken for newbus

Description

Create wrapper for Giant taken for newbus

Create a wrapper for newbus to take giant and for busses to take it too.
bus_topo_lock() should be called before interacting with newbus routines
and unlocked with bus_topo_unlock(). If you need the topology lock for
some reason, bus_topo_mtx() will provide that.

Sponsored by: Netflix
Reviewed by: mav
Differential Revision: https://reviews.freebsd.org/D31831

Details

Provenance
impAuthored on Dec 10 2021, 12:04 AM
Reviewer
mav
Differential Revision
D31831: Create wrapper for Giant taken for newbus
Parents
rGab639f2398bf: nfscl: Check for an error return from nfsrv_getattrbits()
Branches
Unknown
Tags
Unknown