Page MenuHomeFreeBSD

kern: osd: trash a slot's methods upon deregistration
ClosedPublic

Authored by kevans on Dec 14 2024, 4:21 AM.
Tags
None
Referenced Files
F165545182: D48075.diff
Sat, Aug 8, 3:21 PM
Unknown Object (File)
Sat, Aug 8, 5:25 AM
Unknown Object (File)
Sun, Aug 2, 3:35 AM
Unknown Object (File)
Sat, Aug 1, 6:28 AM
Unknown Object (File)
Fri, Jul 31, 1:21 PM
Unknown Object (File)
Sun, Jul 26, 4:06 PM
Unknown Object (File)
Fri, Jul 24, 8:28 PM
Unknown Object (File)
Fri, Jul 24, 8:12 PM
Subscribers

Details

Summary

This both lets us quickly identify a slot that's been deallocated while
debugging, and forces us to take a fault if something tries to call one
of the methods anyways somehow with osd_destructors[slot - 1] == NULL.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable