Page MenuHomeFreeBSD

cuse: Actually use cuse_modevent()
AcceptedPublic

Authored by christos on Sun, Sep 20, 4:06 PM.
Tags
None
Referenced Files
F173065375: D59862.id187282.diff
Wed, Sep 23, 7:44 AM
Unknown Object (File)
Mon, Sep 21, 9:28 AM
Unknown Object (File)
Sun, Sep 20, 10:56 PM
Unknown Object (File)
Sun, Sep 20, 10:52 PM
Unknown Object (File)
Sun, Sep 20, 6:42 PM
Subscribers

Details

Reviewers
markj
emaste
kib
Summary

We can call cuse_kern_init()/cuse_kern_uninit() here, rather than using
SYSINIT/SYSUNINIT.

Sponsored by: The FreeBSD Foundation
MFC after: 1 week

Diff Detail

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

Event Timeline

kib added inline comments.
sys/fs/cuse/cuse.c
278

Would be nice to switch this to make_dev_something(MAKEDEV_CHECKNAME) just in case.

292

This is silly.

306

destroy_dev arguably should occur before checks for cuse_server_head, to interlock the drain.

This revision is now accepted and ready to land.Sun, Sep 20, 4:52 PM
sys/fs/cuse/cuse.c
278
292

I'm working on a patch already.