HomeFreeBSD

Change the default method for device_quiesce() to return 0 instead of

Description

Change the default method for device_quiesce() to return 0 instead of
EOPNOTSUPP. The current behavior can mask real quiesce errors since
devclass_quiesce_driver() stops iterating over drivers as soon as it
gets an error (incluiding EOPNOTSUPP), but the caller it returns the
error to explicitly ignores EOPNOTSUPP.

Reviewed by: imp

Details

Provenance
jhbAuthored on
Reviewer
imp
Parents
rS276854: Belatedly MFC r241440 and r241441:
Branches
Unknown
Tags
Unknown

Event Timeline