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)
Tue, Oct 14, 8:59 PM
Unknown Object (File)
Tue, Oct 14, 8:59 PM
Unknown Object (File)
Tue, Oct 14, 8:59 PM
Unknown Object (File)
Tue, Oct 14, 11:15 AM
Unknown Object (File)
Aug 15 2025, 12:11 AM
Unknown Object (File)
Aug 12 2025, 5:28 PM
Unknown Object (File)
Aug 12 2025, 1:51 PM
Unknown Object (File)
Jul 29 2025, 11: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 Not Applicable
Unit
Tests Not Applicable