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
Unknown Object (File)
Fri, Sep 11, 3:15 PM
Unknown Object (File)
Thu, Sep 10, 1:25 PM
Unknown Object (File)
Sat, Sep 5, 2:56 AM
Unknown Object (File)
Sat, Aug 22, 7:12 PM
Unknown Object (File)
Thu, Aug 20, 9:24 AM
Unknown Object (File)
Wed, Aug 19, 9:35 PM
Unknown Object (File)
Aug 14 2026, 11:05 PM
Unknown Object (File)
Aug 12 2026, 1:11 AM
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