Page MenuHomeFreeBSD

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

Authored by kevans on Dec 14 2024, 4:21 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Oct 14, 12:24 AM
Unknown Object (File)
Mon, Oct 13, 5:47 AM
Unknown Object (File)
Wed, Oct 8, 8:43 PM
Unknown Object (File)
Wed, Oct 8, 1:47 AM
Unknown Object (File)
Fri, Oct 3, 2:19 AM
Unknown Object (File)
Thu, Oct 2, 3:40 AM
Unknown Object (File)
Mon, Sep 29, 10:47 AM
Unknown Object (File)
Sun, Sep 28, 9:39 PM
Subscribers

Details

Reviewers
markj
jamie
pjd
imp
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 Skipped
Unit
Tests Skipped
Build Status
Buildable 61153
Build 58037: arc lint + arc unit