Page MenuHomeFreeBSD

stand: Move dev_cleanup into libsa
ClosedPublic

Authored by imp on Jan 10 2023, 12:18 AM.
Tags
None
Referenced Files
F169499314: D38004.diff
Tue, Sep 1, 5:33 PM
F169424053: D38004.id.diff
Tue, Sep 1, 12:28 PM
F169318402: D38004.id114972.diff
Tue, Sep 1, 4:44 AM
Unknown Object (File)
Sun, Aug 30, 5:51 PM
Unknown Object (File)
Sun, Aug 30, 12:07 PM
Unknown Object (File)
Sat, Aug 29, 6:50 PM
Unknown Object (File)
Wed, Aug 26, 7:37 PM
Unknown Object (File)
Wed, Aug 26, 5:04 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