Page MenuHomeFreeBSD

cuse: Assert the server refcount
ClosedPublic

Authored by christos on Sat, Sep 26, 1:25 PM.
Tags
None
Referenced Files
F174128256: D60043.diff
Wed, Sep 30, 7:33 PM
Unknown Object (File)
Tue, Sep 29, 4:15 PM
Unknown Object (File)
Sun, Sep 27, 10:58 PM
Unknown Object (File)
Sun, Sep 27, 10:40 PM
Unknown Object (File)
Sun, Sep 27, 6:16 PM
Unknown Object (File)
Sun, Sep 27, 2:35 PM
Unknown Object (File)
Sat, Sep 26, 9:25 PM
Unknown Object (File)
Sat, Sep 26, 6:56 PM
Subscribers

Details

Summary

Assert that the refcount does not underflow before decrementing it, and
that it really is zero by the time the server is freed.

MFC after: 1 week
Sponsored by: The FreeBSD Foundation

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 77351
Build 74234: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Sun, Sep 27, 9:20 PM
christos retitled this revision from cuse: Assert that the server refcount does not underflow to cuse: Assert the server refcount.Mon, Sep 28, 10:34 AM
christos edited the summary of this revision. (Show Details)

Assert that ref == 0 when the server is freed.

This revision now requires review to proceed.Mon, Sep 28, 10:35 AM
This revision is now accepted and ready to land.Mon, Sep 28, 7:31 PM
This revision was automatically updated to reflect the committed changes.