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)
Mar 11 2024, 9:20 AM
Unknown Object (File)
Mar 11 2024, 9:20 AM
Unknown Object (File)
Mar 11 2024, 9:17 AM
Unknown Object (File)
Mar 7 2024, 11:10 PM
Unknown Object (File)
Jan 12 2024, 8:07 AM
Unknown Object (File)
Jan 9 2024, 2:01 PM
Unknown Object (File)
Jan 3 2024, 8:11 PM
Unknown Object (File)
Jan 3 2024, 7:10 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