Page MenuHomeFreeBSD

stand: Move dev_cleanup into libsa
ClosedPublic

Authored by imp on Jan 10 2023, 12:18 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Apr 29, 1:35 AM
Unknown Object (File)
Wed, Apr 29, 1:29 AM
Unknown Object (File)
Tue, Apr 28, 11:15 PM
Unknown Object (File)
Tue, Apr 28, 11:08 PM
Unknown Object (File)
Tue, Apr 28, 8:37 AM
Unknown Object (File)
Mon, Apr 27, 1:44 PM
Unknown Object (File)
Mon, Apr 27, 10:17 AM
Unknown Object (File)
Mon, Apr 27, 7:04 AM
Subscribers

Details

Summary

Since dev_cleanup() walks through all the devsw devices with dv_cleanup
rotuines, move it into libsa rather than having it in
'common'. Logically, it operates only on things that are in libsa, and
would never be different for different loaders: either people would call
it as is, or they'd do the loop themselves with 'special' things inline
between calls to cleanup (not that I think that will ever be needed
though).

Sponsored by: Netflix

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 49032
Build 45921: arc lint + arc unit