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)
Oct 4 2024, 11:08 PM
Unknown Object (File)
Oct 4 2024, 7:24 PM
Unknown Object (File)
Oct 2 2024, 7:45 AM
Unknown Object (File)
Oct 2 2024, 7:31 AM
Unknown Object (File)
Oct 1 2024, 9:09 PM
Unknown Object (File)
Oct 1 2024, 2:17 PM
Unknown Object (File)
Oct 1 2024, 1:05 PM
Unknown Object (File)
Sep 24 2024, 6:14 PM
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