Page MenuHomeFreeBSD

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

Authored by kevans on Sat, Dec 14, 4:21 AM.
Tags
None
Referenced Files
F107093896: D48075.diff
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)
Wed, Dec 18, 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