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)
Fri, Jan 10, 3:17 PM
Unknown Object (File)
Fri, Jan 10, 12:34 AM
Unknown Object (File)
Mon, Jan 6, 7:12 AM
Unknown Object (File)
Mon, Jan 6, 6:52 AM
Unknown Object (File)
Sun, Jan 5, 9:18 PM
Unknown Object (File)
Dec 18 2024, 7:36 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